fix unread count for opera
This commit is contained in:
parent
c9a6e24539
commit
cf548f411f
@ -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();
|
||||||
|
|||||||
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user