diff options
| author | Stephen Blott | 2016-02-29 06:31:43 +0000 |
|---|---|---|
| committer | Stephen Blott | 2016-03-05 05:40:11 +0000 |
| commit | e4193e2752ee7132ff16a7ba977857f70df2946b (patch) | |
| tree | c6ac4221e85cb2ffcb6daa58bd0932da755a0b34 /background_scripts | |
| parent | 9cfa00bc7db3e07c3abbeb09e483d9fdf20bbc17 (diff) | |
| download | vimium-e4193e2752ee7132ff16a7ba977857f70df2946b.tar.bz2 | |
Key bindings; tweaks.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 2 |
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 |
