\n Interval:
\n\n\n
";
+ section.innerHTML = "
\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
";
items = {};
inputs = {};
- _ref = ['boardnav', 'time', 'backlink', 'fileInfo', 'favicon', 'sageEmoji', 'emojiPos', 'usercss', 'Interval'];
+ _ref = ['boardnav', 'time', 'backlink', 'fileInfo', 'favicon', 'sageEmoji', 'emojiPos', 'usercss'];
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
name = _ref[_i];
input = $("[name=" + name + "]", section);
@@ -9393,12 +9396,13 @@
for (key in items) {
val = items[key];
+ if (['usercss', 'emojiPos', 'archiver'].contains(key)) {
+ continue;
+ }
input = inputs[key];
input.value = val;
- if (!['usercss', 'emojiPos', 'archiver', 'Interval'].contains(key)) {
- $.on(input, event, Settings[key]);
- Settings[key].call(input);
- }
+ $.on(input, event, Settings[key]);
+ Settings[key].call(input);
}
});
$.on($('input[name=Interval]', section), 'input', ThreadUpdater.cb.interval);
diff --git a/builds/crx/script.js b/builds/crx/script.js
index ed01fa489..1287cdcdd 100644
--- a/builds/crx/script.js
+++ b/builds/crx/script.js
@@ -6267,7 +6267,10 @@
interval: function() {
var val;
- val = parseInt(this.value, 10);
+ val = +this.value;
+ if (val < 1) {
+ val = 1;
+ }
ThreadUpdater.interval = this.value = val;
return $.cb.value.call(this);
},
@@ -9253,10 +9256,10 @@
advanced: function(section) {
var archiver, event, input, inputs, items, name, toSelect, _i, _j, _len, _len1, _ref;
- section.innerHTML = "
\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n