work on updated posts
This commit is contained in:
parent
417206ed17
commit
9ff9484031
@ -1318,10 +1318,12 @@ else #not reply
|
||||
a.addEventListener('click', expandComment, true)
|
||||
|
||||
if getConfig 'Unread Count'
|
||||
g.replies = $$ 'td.reply, td.replyhl'
|
||||
g.replies = []
|
||||
document.title = '(0) ' + document.title
|
||||
scroll()
|
||||
document.addEventListener 'scroll', scroll, true
|
||||
g.callbacks.push (root) ->
|
||||
g.replies.push $$ 'td.reply, td.replyhl', root
|
||||
scroll()
|
||||
|
||||
callback() for callback in g.callbacks
|
||||
d.body.addEventListener('DOMNodeInserted', nodeInserted, true)
|
||||
|
||||
@ -1685,10 +1685,13 @@
|
||||
}
|
||||
}
|
||||
if (getConfig('Unread Count')) {
|
||||
g.replies = $$('td.reply, td.replyhl');
|
||||
g.replies = [];
|
||||
document.title = '(0) ' + document.title;
|
||||
scroll();
|
||||
document.addEventListener('scroll', scroll, true);
|
||||
g.callbacks.push(function(root) {
|
||||
g.replies.push($$('td.reply, td.replyhl', root));
|
||||
return scroll();
|
||||
});
|
||||
}
|
||||
_ref4 = g.callbacks;
|
||||
for (_m = 0, _len6 = _ref4.length; _m < _len6; _m++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user