aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrmr19932015-05-31 17:56:32 +0100
committermrmr19932015-05-31 17:56:32 +0100
commit2929935c1ebb093797c2b5d02153ec18e63a2c24 (patch)
tree243a6b02653d0bc629d8b1d29b051e0da4db9db9
parent4b420fe89502ce910d4cc13fda51e0a8ad06fed9 (diff)
downloadvimium-2929935c1ebb093797c2b5d02153ec18e63a2c24.tar.bz2
Replace settings.set with Settings.set in the frontend
-rw-r--r--content_scripts/vimium_frontend.coffee6
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 =