rm a return clause in scroll

This commit is contained in:
James Campos 2011-04-18 01:15:41 -07:00
parent 208500d5ea
commit 01374ac13e
2 changed files with 0 additions and 5 deletions

View File

@ -1629,9 +1629,6 @@
}, },
scroll: function(e) { scroll: function(e) {
var bottom, height, i, reply, _len, _ref; var bottom, height, i, reply, _len, _ref;
if (unread.replies.length === 0) {
return;
}
height = d.body.clientHeight; height = d.body.clientHeight;
_ref = unread.replies; _ref = unread.replies;
for (i = 0, _len = _ref.length; i < _len; i++) { for (i = 0, _len = _ref.length; i < _len; i++) {

View File

@ -1274,8 +1274,6 @@ unread =
unread.updateFavicon() unread.updateFavicon()
scroll: (e) -> scroll: (e) ->
return if unread.replies.length is 0
height = d.body.clientHeight height = d.body.clientHeight
for reply, i in unread.replies for reply, i in unread.replies
{bottom} = reply.getBoundingClientRect() {bottom} = reply.getBoundingClientRect()