diff options
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 |
