diff --git a/src/Monitoring/Unread.coffee b/src/Monitoring/Unread.coffee index 00231e253..1ff2c20f2 100644 --- a/src/Monitoring/Unread.coffee +++ b/src/Monitoring/Unread.coffee @@ -23,7 +23,6 @@ Unread = $.on d, 'ThreadUpdate', Unread.onUpdate $.on d, 'scroll visibilitychange', Unread.read $.on d, 'visibilitychange', Unread.setLine if Conf['Unread Line'] - $.on window, 'load', Unread.scroll if Conf['Scroll to Last Read Post'] ready: -> $.off d, '4chanXInitFinished', Unread.ready @@ -31,6 +30,7 @@ Unread = for ID, post of Unread.thread.posts posts.push post if post.isReply Unread.addPosts posts + Unread.scroll() scroll: -> # Let the header's onload callback handle it.