diff options
| author | mrmr1993 | 2015-05-31 17:56:32 +0100 |
|---|---|---|
| committer | mrmr1993 | 2015-05-31 17:56:32 +0100 |
| commit | 2929935c1ebb093797c2b5d02153ec18e63a2c24 (patch) | |
| tree | 243a6b02653d0bc629d8b1d29b051e0da4db9db9 /content_scripts/vimium_frontend.coffee | |
| parent | 4b420fe89502ce910d4cc13fda51e0a8ad06fed9 (diff) | |
| download | vimium-2929935c1ebb093797c2b5d02153ec18e63a2c24.tar.bz2 | |
Replace settings.set with Settings.set in the frontend
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 23b725e4..90c2b09d 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -68,10 +68,6 @@ settings = @port = true Settings.init() - set: (key, value) -> - @init() unless @port - Settings.set key, value - load: -> @init() unless @port addEventListener: Settings.addEventListener.bind Settings @@ -1084,7 +1080,7 @@ window.showHelpDialog = (html, fid) -> event.preventDefault() showAdvanced = VimiumHelpDialog.getShowAdvancedCommands() VimiumHelpDialog.showAdvancedCommands(!showAdvanced) - settings.set("helpDialog_showAdvancedCommands", !showAdvanced) + Settings.set("helpDialog_showAdvancedCommands", !showAdvanced) showAdvancedCommands: (visible) -> VimiumHelpDialog.dialogElement.getElementsByClassName("toggleAdvancedCommands")[0].innerHTML = |
