aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2017-04-18 05:43:36 +0100
committerGitHub2017-04-18 05:43:36 +0100
commit84723d7561d0cc12f54a6d388dcd505ddd6105ac (patch)
tree9785689677c37c2c153f654711496ae0f1ed5e82 /background_scripts
parentf4f017b8fd496b1b4ccd79504ca76cc144cc233e (diff)
parent50eb814dfff68426dac03b0a804424c3eb7e9770 (diff)
downloadvimium-84723d7561d0cc12f54a6d388dcd505ddd6105ac.tar.bz2
Merge pull request #2478 from mrmr1993/always-update-help
Regenerate help page data when key bindings are updated
Diffstat (limited to 'background_scripts')
-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