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