Make sure posts are read when scrolling via next reply keybind.
This commit is contained in:
parent
81a2b096a1
commit
a1a12aaf23
@ -1,5 +1,5 @@
|
|||||||
Index navigation improvements:
|
Index navigation improvements:
|
||||||
- You can now refresh the index page you are on with the icon in the header bar or the same keybind for refreshing threads.
|
- You can now refresh the index page you are on with the refresh shortcut in the header bar or the same keybind for refreshing threads.
|
||||||
- You can now switch between paged and all-threads index modes via the "Index Navigation" header sub-menu.
|
- You can now switch between paged and all-threads index modes via the "Index Navigation" header sub-menu.
|
||||||
- Threads in the index can now be sorted by:
|
- Threads in the index can now be sorted by:
|
||||||
- Bump order
|
- Bump order
|
||||||
|
|||||||
@ -131,7 +131,7 @@ Unread =
|
|||||||
read: (e) ->
|
read: (e) ->
|
||||||
return if d.hidden or !Unread.posts.length
|
return if d.hidden or !Unread.posts.length
|
||||||
for post, i in Unread.posts
|
for post, i in Unread.posts
|
||||||
break if Header.getBottomOf(post.nodes.root) <= 0 # post is not completely read
|
break if Header.getBottomOf(post.nodes.root) < -1 # post is not completely read
|
||||||
return unless i
|
return unless i
|
||||||
|
|
||||||
Unread.lastReadPost = Unread.posts.splice(0, i)[i - 1].ID
|
Unread.lastReadPost = Unread.posts.splice(0, i)[i - 1].ID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user