Merge pull request #323 from MayhemYDG/master

Unread count performance fix; changelog.
This commit is contained in:
James Campos 2011-10-10 16:46:54 -07:00
commit 544aecb87e
3 changed files with 8 additions and 3 deletions

View File

@ -2656,7 +2656,9 @@
}
unread.replies.push(root);
unread.updateTitle();
return Favicon.update();
if (unread.replies.length === 1) {
return Favicon.update();
}
},
scroll: function(e) {
var bottom, height, i, reply, _len, _ref;

View File

@ -3,7 +3,9 @@ master
initiate 4chan X earlier
automatically reload expanded pictures on error
update /sci/ archive redirection
Regular expressions based filter
regular expressions based filter
handle bans with the thread updater
performance improvements
- aeosynth
quick reply redesign

View File

@ -1962,7 +1962,8 @@ unread =
return if root.hidden or root.className
unread.replies.push root
unread.updateTitle()
Favicon.update()
if unread.replies.length is 1
Favicon.update()
scroll: (e) ->
updater.focus = true