fix ircscroll
This commit is contained in:
parent
bc64883474
commit
22d67a00bc
@ -1646,7 +1646,7 @@
|
||||
while ((reply = replies.pop()) && (reply.id > id)) {
|
||||
arr.push(reply.parentNode.parentNode.parentNode);
|
||||
}
|
||||
ircScroll = conf['Scrolling'] && arr.length && (document.height - document.body.clientHeight - window.scrollY < 20);
|
||||
ircScroll = conf['Scrolling'] && arr.length && (d.body.scrollHeight - d.body.clientHeight - window.scrollY < 20);
|
||||
updater.timer.textContent = '-' + conf['Interval'];
|
||||
if (conf['Verbose']) {
|
||||
updater.count.textContent = '+' + arr.length;
|
||||
|
||||
@ -1345,7 +1345,7 @@ updater =
|
||||
while (reply = replies.pop()) and (reply.id > id)
|
||||
arr.push reply.parentNode.parentNode.parentNode #table
|
||||
|
||||
ircScroll = conf['Scrolling'] && arr.length && (document.height - document.body.clientHeight - window.scrollY < 20)
|
||||
ircScroll = conf['Scrolling'] && arr.length && (d.body.scrollHeight - d.body.clientHeight - window.scrollY < 20)
|
||||
|
||||
updater.timer.textContent = '-' + conf['Interval']
|
||||
if conf['Verbose']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user