Just a string will be enough.
This commit is contained in:
parent
80ede65e38
commit
d6cbf7c6b4
@ -1155,7 +1155,7 @@
|
|||||||
Settings.addSection('Keybinds', Settings.keybinds);
|
Settings.addSection('Keybinds', Settings.keybinds);
|
||||||
$.on(d, 'AddSettingsSection', Settings.addSection);
|
$.on(d, 'AddSettingsSection', Settings.addSection);
|
||||||
$.on(d, 'OpenSettings', function(e) {
|
$.on(d, 'OpenSettings', function(e) {
|
||||||
return Settings.open(e.detail.title);
|
return Settings.open(e.detail);
|
||||||
});
|
});
|
||||||
if (Conf['Enable 4chan\'s extension']) {
|
if (Conf['Enable 4chan\'s extension']) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -152,7 +152,7 @@ Settings =
|
|||||||
Settings.addSection 'Rice', Settings.rice
|
Settings.addSection 'Rice', Settings.rice
|
||||||
Settings.addSection 'Keybinds', Settings.keybinds
|
Settings.addSection 'Keybinds', Settings.keybinds
|
||||||
$.on d, 'AddSettingsSection', Settings.addSection
|
$.on d, 'AddSettingsSection', Settings.addSection
|
||||||
$.on d, 'OpenSettings', (e) -> Settings.open e.detail.title
|
$.on d, 'OpenSettings', (e) -> Settings.open e.detail
|
||||||
|
|
||||||
return if Conf['Enable 4chan\'s extension']
|
return if Conf['Enable 4chan\'s extension']
|
||||||
settings = JSON.parse(localStorage.getItem '4chan-settings') or {}
|
settings = JSON.parse(localStorage.getItem '4chan-settings') or {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user