From 01374ac13ec7cc3f27e3416116159ef0faf554ef Mon Sep 17 00:00:00 2001 From: James Campos Date: Mon, 18 Apr 2011 01:15:41 -0700 Subject: [PATCH] rm a return clause in scroll --- 4chan_x.js | 3 --- script.coffee | 2 -- 2 files changed, 5 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index 798bc84b9..d8aefca15 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -1629,9 +1629,6 @@ }, scroll: function(e) { var bottom, height, i, reply, _len, _ref; - if (unread.replies.length === 0) { - return; - } height = d.body.clientHeight; _ref = unread.replies; for (i = 0, _len = _ref.length; i < _len; i++) { diff --git a/script.coffee b/script.coffee index 531d2f567..675c27934 100644 --- a/script.coffee +++ b/script.coffee @@ -1274,8 +1274,6 @@ unread = unread.updateFavicon() scroll: (e) -> - return if unread.replies.length is 0 - height = d.body.clientHeight for reply, i in unread.replies {bottom} = reply.getBoundingClientRect()