From bbe93eb475a956c46b6d9b6f225b03e2f40317f8 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Wed, 7 Aug 2013 15:24:21 +0200 Subject: [PATCH] Shave a line. --- src/Monitoring/Unread.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Monitoring/Unread.coffee b/src/Monitoring/Unread.coffee index c31c63b56..da1419be5 100644 --- a/src/Monitoring/Unread.coffee +++ b/src/Monitoring/Unread.coffee @@ -125,9 +125,8 @@ Unread = break if bottom > height # post is not completely read return unless i - Unread.lastReadPost = Unread.posts[i - 1].ID + Unread.lastReadPost = Unread.posts.splice(0, i)[i - 1].ID Unread.saveLastReadPost() - Unread.posts.splice 0, i Unread.readArray Unread.postsQuotingYou Unread.update() if e