diff --git a/src/General/Settings.coffee b/src/General/Settings.coffee index 9075f11bb..854b750d2 100644 --- a/src/General/Settings.coffee +++ b/src/General/Settings.coffee @@ -429,6 +429,11 @@ Settings = for input in $$ '[name]', section inputs[input.name] = input + $.on inputs['archiveLists'], 'change', -> + $.set 'lastarchivecheck', 0 + Conf['lastarchivecheck'] = 0 + $.id('lastarchivecheck').textContent = 'never' + items = {} for name in ['archiveLists', 'archiveAutoUpdate', 'captchaLanguage', 'boardnav', 'time', 'backlink', 'fileInfo', 'QR.personas', 'favicon', 'usercss', 'customCooldown'] items[name] = Conf[name] @@ -445,11 +450,6 @@ Settings = Settings[key].call input return - $.on inputs['archiveLists'], 'change', -> - $.set 'lastarchivecheck', 0 - Conf['lastarchivecheck'] = 0 - $.id('lastarchivecheck').textContent = 'never' - interval = inputs['Interval'] customCSS = inputs['Custom CSS'] applyCSS = $ '#apply-css', section