I don't even...
This commit is contained in:
parent
06019028f6
commit
909bc510bc
@ -1621,7 +1621,7 @@
|
|||||||
input.value = $.get(name, Conf[name]);
|
input.value = $.get(name, Conf[name]);
|
||||||
event = ['favicon', 'usercss'].contains(name) ? 'change' : 'input';
|
event = ['favicon', 'usercss'].contains(name) ? 'change' : 'input';
|
||||||
$.on(input, event, $.cb.value);
|
$.on(input, event, $.cb.value);
|
||||||
if (!['usercss'].contains(name)) {
|
if ('usercss' !== name) {
|
||||||
$.on(input, event, Settings[name]);
|
$.on(input, event, Settings[name]);
|
||||||
Settings[name].call(input);
|
Settings[name].call(input);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -575,7 +575,7 @@ Settings =
|
|||||||
else
|
else
|
||||||
'input'
|
'input'
|
||||||
$.on input, event, $.cb.value
|
$.on input, event, $.cb.value
|
||||||
unless ['usercss'].contains name
|
unless 'usercss' is name
|
||||||
$.on input, event, Settings[name]
|
$.on input, event, Settings[name]
|
||||||
Settings[name].call input
|
Settings[name].call input
|
||||||
$.on $.id('apply-css'), 'click', Settings.usercss
|
$.on $.id('apply-css'), 'click', Settings.usercss
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user