aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrmr19932017-04-17 23:51:20 +0100
committermrmr19932017-04-17 23:51:20 +0100
commit50eb814dfff68426dac03b0a804424c3eb7e9770 (patch)
tree9785689677c37c2c153f654711496ae0f1ed5e82
parentf4f017b8fd496b1b4ccd79504ca76cc144cc233e (diff)
downloadvimium-50eb814dfff68426dac03b0a804424c3eb7e9770.tar.bz2
Regenerate help page data when key bindings are updated
-rw-r--r--background_scripts/commands.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee
index 8d3808a2..cda036e6 100644
--- a/background_scripts/commands.coffee
+++ b/background_scripts/commands.coffee
@@ -9,7 +9,6 @@ Commands =
Settings.postUpdateHooks["keyMappings"] = @loadKeyMappings.bind this
@loadKeyMappings Settings.get "keyMappings"
- @prepareHelpPageData()
loadKeyMappings: (customKeyMappings) ->
@keyToCommandRegistry = {}
@@ -43,6 +42,7 @@ Commands =
chrome.storage.local.set mapKeyRegistry: @mapKeyRegistry
@installKeyStateMapping()
+ @prepareHelpPageData()
# Push the key mapping for passNextKey into Settings so that it's available in the front end for insert
# mode. We exclude single-key mappings (that is, printable keys) because when users press printable keys