aboutsummaryrefslogtreecommitdiff
path: root/src/background/actions/operation.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/background/actions/operation.js')
-rw-r--r--src/background/actions/operation.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/background/actions/operation.js b/src/background/actions/operation.js
index d736c09..b94c117 100644
--- a/src/background/actions/operation.js
+++ b/src/background/actions/operation.js
@@ -42,6 +42,12 @@ const exec = (operation, tab) => {
return sendConsoleShowCommand(tab, 'tabopen ' + tab.url);
}
return sendConsoleShowCommand(tab, 'tabopen ');
+ case operations.COMMAND_SHOW_WINOPEN:
+ if (operation.alter) {
+ // alter url
+ return sendConsoleShowCommand(tab, 'winopen ' + tab.url);
+ }
+ return sendConsoleShowCommand(tab, 'winopen ');
case operations.COMMAND_SHOW_BUFFER:
return sendConsoleShowCommand(tab, 'buffer ');
default: