Make sure posts are read when scrolling via next reply keybind.

This commit is contained in:
Mayhem 2013-11-03 13:57:55 +01:00
parent 81a2b096a1
commit a1a12aaf23
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
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.
- Threads in the index can now be sorted by:
- Bump order

View File

@ -131,7 +131,7 @@ Unread =
read: (e) ->
return if d.hidden or !Unread.posts.length
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
Unread.lastReadPost = Unread.posts.splice(0, i)[i - 1].ID