diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index d1af9a85a..dd6cac59e 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -9715,14 +9715,10 @@ break; } ID = post.ID; + posts.rm(ID); if (Conf['Mark Quotes of You'] && post.info.yours) { QuoteYou.lastRead = post.nodes.root; } - posts.rm(ID); - if (post === posts.first) { - c.log(posts); - break; - } } if (!ID) { return; diff --git a/builds/crx/script.js b/builds/crx/script.js index 41ea48332..f7758362c 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -9698,14 +9698,10 @@ break; } ID = post.ID; + posts.rm(ID); if (Conf['Mark Quotes of You'] && post.info.yours) { QuoteYou.lastRead = post.nodes.root; } - posts.rm(ID); - if (post === posts.first) { - c.log(posts); - break; - } } if (!ID) { return; diff --git a/src/Monitoring/Unread.coffee b/src/Monitoring/Unread.coffee index 146578b67..1eeeebb0c 100755 --- a/src/Monitoring/Unread.coffee +++ b/src/Monitoring/Unread.coffee @@ -142,15 +142,11 @@ Unread = {posts} = Unread while post = posts.first break unless Header.getBottomOf(post.nodes.root) > -1 # post is not completely read - {ID} = post - if Conf['Mark Quotes of You'] and post.info.yours - QuoteYou.lastRead = post.nodes.root posts.rm ID - if post is posts.first - c.log posts - break + if Conf['Mark Quotes of You'] and post.info.yours + QuoteYou.lastRead = post.nodes.root return unless ID