diff options
Diffstat (limited to 'background_scripts/main.coffee')
| -rw-r--r-- | background_scripts/main.coffee | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 614b74c0..49199cae 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -370,10 +370,7 @@ chrome.tabs.onUpdated.addListener (tabId, changeInfo, tab) -> # End action functions runBackgroundCommand = ({frameId, registryEntry, count}, sender) -> - if registryEntry.command.startsWith "Vomnibar." - chrome.tabs.sendMessage sender.tab.id, - name: "openVomnibar", sourceFrameId: frameId, registryEntry: registryEntry - else if registryEntry.passCountToFunction + if registryEntry.passCountToFunction BackgroundCommands[registryEntry.command] count, frameId else if registryEntry.noRepeat BackgroundCommands[registryEntry.command] frameId |
