rm a return clause in scroll
This commit is contained in:
parent
208500d5ea
commit
01374ac13e
@ -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++) {
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user