From bbe7cca8617259a6a48dd1d2c5ee12af7a0c5b82 Mon Sep 17 00:00:00 2001 From: James Campos Date: Sat, 23 Jul 2011 19:54:35 -0700 Subject: [PATCH] IRC Updating -> Scrolling --- 4chan_x.user.js | 4 ++-- script.coffee | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 2f92d3c31..c0ce555da 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -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; diff --git a/script.coffee b/script.coffee index 91dcfafd7..a3f24cb42 100644 --- a/script.coffee +++ b/script.coffee @@ -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']