aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
diff options
context:
space:
mode:
authorStephen Blott2016-02-29 06:31:43 +0000
committerStephen Blott2016-03-05 05:40:11 +0000
commite4193e2752ee7132ff16a7ba977857f70df2946b (patch)
treec6ac4221e85cb2ffcb6daa58bd0932da755a0b34 /background_scripts
parent9cfa00bc7db3e07c3abbeb09e483d9fdf20bbc17 (diff)
downloadvimium-e4193e2752ee7132ff16a7ba977857f70df2946b.tar.bz2
Key bindings; tweaks.
Diffstat (limited to 'background_scripts')
-rw-r--r--background_scripts/main.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee
index d1ca501d..614b74c0 100644
--- a/background_scripts/main.coffee
+++ b/background_scripts/main.coffee
@@ -370,7 +370,7 @@ chrome.tabs.onUpdated.addListener (tabId, changeInfo, tab) ->
# End action functions
runBackgroundCommand = ({frameId, registryEntry, count}, sender) ->
- if registryEntry.command.split(".")[0] == "Vomnibar"
+ if registryEntry.command.startsWith "Vomnibar."
chrome.tabs.sendMessage sender.tab.id,
name: "openVomnibar", sourceFrameId: frameId, registryEntry: registryEntry
else if registryEntry.passCountToFunction