don't error
This commit is contained in:
parent
6f00fbb750
commit
060629d2d9
@ -1616,7 +1616,7 @@
|
||||
}
|
||||
},
|
||||
interval: function() {
|
||||
return conf['Interval'] = this.value = this.value.match(/\d+/)[0];
|
||||
return conf['Interval'] = this.value = parseInt(this.value) || conf['Interval'];
|
||||
},
|
||||
update: function() {
|
||||
var arr, body, br, id, input, length, replies, reply, _i, _len, _ref, _ref2;
|
||||
|
||||
@ -1320,7 +1320,7 @@ updater =
|
||||
else
|
||||
window.clearInterval updater.intervalID
|
||||
interval: ->
|
||||
conf['Interval'] = @value = @value.match(/\d+/)[0]
|
||||
conf['Interval'] = @value = parseInt(@value) or conf['Interval']
|
||||
update: ->
|
||||
if @status is 404
|
||||
updater.timer.textContent = ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user