fix unread count for opera

This commit is contained in:
James Campos 2011-03-12 15:18:33 -08:00
parent c9a6e24539
commit cf548f411f
2 changed files with 2 additions and 2 deletions

View File

@ -1904,7 +1904,7 @@
if (getConfig('Unread Count')) { if (getConfig('Unread Count')) {
g.replies = []; g.replies = [];
d.title = '(0) ' + d.title; d.title = '(0) ' + d.title;
d.addEventListener('scroll', scroll, true); window.addEventListener('scroll', scroll, true);
g.callbacks.push(function(root) { g.callbacks.push(function(root) {
g.replies = g.replies.concat($$('td.reply, td.replyhl', root)); g.replies = g.replies.concat($$('td.reply, td.replyhl', root));
return updateTitle(); return updateTitle();

View File

@ -1439,7 +1439,7 @@ if g.REPLY
if getConfig 'Unread Count' if getConfig 'Unread Count'
g.replies = [] g.replies = []
d.title = '(0) ' + d.title d.title = '(0) ' + d.title
d.addEventListener 'scroll', scroll, true window.addEventListener 'scroll', scroll, true
g.callbacks.push (root) -> g.callbacks.push (root) ->
g.replies = g.replies.concat $$ 'td.reply, td.replyhl', root g.replies = g.replies.concat $$ 'td.reply, td.replyhl', root
updateTitle() updateTitle()