diff --git a/4chan_x.user.js b/4chan_x.user.js index a76658ddf..722db5a3b 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1597,7 +1597,7 @@ } }, autoUpdate: function() { - if (conf['Auto Update This']) { + if (this.checked) { return updater.intervalID = window.setInterval(updater.timeout, 1000); } else { return window.clearInterval(updater.intervalID); diff --git a/script.coffee b/script.coffee index 4222d5fc3..d7cd9a2e5 100644 --- a/script.coffee +++ b/script.coffee @@ -1293,7 +1293,7 @@ updater = textContent: 'Thread Updater' $.hide updater.timer autoUpdate: -> - if conf['Auto Update This'] + if @checked updater.intervalID = window.setInterval updater.timeout, 1000 else window.clearInterval updater.intervalID