Revert "Fuck yeah, parseInt with base 10."
This reverts commit eaed3c281f7c8aaa76869d46ee797c6a34f68a76. there's nothing wrong with writing your intervals in hex
This commit is contained in:
parent
6160c6667b
commit
90a92bb62e
@ -1958,7 +1958,7 @@
|
||||
}
|
||||
} else if (input.name === 'Interval') {
|
||||
$.bind(input, 'change', function() {
|
||||
return conf['Interval'] = this.value = parseInt(this.value, 10) || conf['Interval'];
|
||||
return conf['Interval'] = this.value = parseInt(this.value) || conf['Interval'];
|
||||
});
|
||||
$.bind(input, 'change', $.cb.value);
|
||||
} else if (input.type === 'button') {
|
||||
|
||||
@ -1466,7 +1466,7 @@ updater =
|
||||
$.bind input, 'click', updater.cb.autoUpdate
|
||||
updater.cb.autoUpdate.call input
|
||||
else if input.name is 'Interval'
|
||||
$.bind input, 'change', -> conf['Interval'] = @value = parseInt(@value, 10) or conf['Interval']
|
||||
$.bind input, 'change', -> conf['Interval'] = @value = parseInt(@value) or conf['Interval']
|
||||
$.bind input, 'change', $.cb.value
|
||||
else if input.type is 'button'
|
||||
$.bind input, 'click', updater.updateNow
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user