Just a string will be enough.

This commit is contained in:
Nicolas Stepien 2013-02-20 16:41:04 +01:00
parent 80ede65e38
commit d6cbf7c6b4
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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 {}