parent
9422747edc
commit
537913542a
@ -9578,11 +9578,14 @@
|
||||
|
||||
for (key in items) {
|
||||
val = items[key];
|
||||
if (['usercss', 'emojiPos', 'archiver'].contains(key)) {
|
||||
if (['emojiPos', 'archiver'].contains(key)) {
|
||||
continue;
|
||||
}
|
||||
input = inputs[key];
|
||||
input.value = val;
|
||||
if (key === 'usercss') {
|
||||
continue;
|
||||
}
|
||||
$.on(input, event, Settings[key]);
|
||||
Settings[key].call(input);
|
||||
}
|
||||
|
||||
@ -9601,11 +9601,14 @@
|
||||
|
||||
for (key in items) {
|
||||
val = items[key];
|
||||
if (['usercss', 'emojiPos', 'archiver'].contains(key)) {
|
||||
if (['emojiPos', 'archiver'].contains(key)) {
|
||||
continue;
|
||||
}
|
||||
input = inputs[key];
|
||||
input.value = val;
|
||||
if (key === 'usercss') {
|
||||
continue;
|
||||
}
|
||||
$.on(input, event, Settings[key]);
|
||||
Settings[key].call(input);
|
||||
}
|
||||
|
||||
@ -9583,11 +9583,14 @@
|
||||
|
||||
for (key in items) {
|
||||
val = items[key];
|
||||
if (['usercss', 'emojiPos', 'archiver'].contains(key)) {
|
||||
if (['emojiPos', 'archiver'].contains(key)) {
|
||||
continue;
|
||||
}
|
||||
input = inputs[key];
|
||||
input.value = val;
|
||||
if (key === 'usercss') {
|
||||
continue;
|
||||
}
|
||||
$.on(input, event, Settings[key]);
|
||||
Settings[key].call(input);
|
||||
}
|
||||
|
||||
@ -353,9 +353,10 @@ Settings =
|
||||
|
||||
$.get items, (items) ->
|
||||
for key, val of items
|
||||
continue if ['usercss', 'emojiPos', 'archiver'].contains key
|
||||
continue if ['emojiPos', 'archiver'].contains key
|
||||
input = inputs[key]
|
||||
input.value = val
|
||||
continue if key is 'usercss'
|
||||
$.on input, event, Settings[key]
|
||||
Settings[key].call input
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user