IRC Updating -> Scrolling

This commit is contained in:
James Campos 2011-07-23 19:54:35 -07:00
parent 65190dbd06
commit bbe7cca861
2 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@
updater: {
checkbox: {
'Verbose': [true, 'Show countdown timer, new post count'],
'IRC Updating': [false, 'Scroll updated posts into view'],
'Scrolling': [false, 'Scroll updated posts into view'],
'Auto Update': [true, 'Automatically fetch new posts']
},
'Interval': 30
@ -1646,7 +1646,7 @@
while ((reply = replies.pop()) && (reply.id > id)) {
arr.push(reply.parentNode.parentNode.parentNode);
}
ircScroll = conf['IRC Updating'] && arr.length && (document.height - document.body.clientHeight - window.scrollY < 20);
ircScroll = conf['Scrolling'] && arr.length && (document.height - document.body.clientHeight - window.scrollY < 20);
updater.timer.textContent = '-' + conf['Interval'];
if (conf['Verbose']) {
updater.count.textContent = '+' + arr.length;

View File

@ -73,7 +73,7 @@ config =
updater:
checkbox:
'Verbose': [true, 'Show countdown timer, new post count']
'IRC Updating': [false, 'Scroll updated posts into view']
'Scrolling': [false, 'Scroll updated posts into view']
'Auto Update': [true, 'Automatically fetch new posts']
'Interval': 30
@ -1345,7 +1345,7 @@ updater =
while (reply = replies.pop()) and (reply.id > id)
arr.push reply.parentNode.parentNode.parentNode #table
ircScroll = conf['IRC Updating'] && arr.length && (document.height - document.body.clientHeight - window.scrollY < 20)
ircScroll = conf['Scrolling'] && arr.length && (document.height - document.body.clientHeight - window.scrollY < 20)
updater.timer.textContent = '-' + conf['Interval']
if conf['Verbose']