diff options
-rw-r--r-- | src/background/components/background.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/background/components/background.js b/src/background/components/background.js index c7a79a1..f7b0511 100644 --- a/src/background/components/background.js +++ b/src/background/components/background.js @@ -31,14 +31,12 @@ export default class BackgroundComponent { let action = tabActions.openNewTab( message.url, sender.tab.id, message.background, settings.value.properties.adjacenttab); - return this.store.dispatch(action, sender); + return this.store.dispatch(action); } - return this.store.dispatch( - tabActions.openToTab(message.url, sender.tab), sender); + return this.store.dispatch(tabActions.openToTab(message.url, sender.tab)); case messages.CONSOLE_ENTER_COMMAND: this.store.dispatch( commandActions.exec(sender.tab, message.text, settings.value), - sender ); return this.broadcastSettingsChanged(); case messages.SETTINGS_QUERY: |