diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-10-08 15:34:23 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-08 15:34:23 +0900 |
commit | bbf90e77e99846c970118744066fbc21006761b5 (patch) | |
tree | 47e554ec89230a06558f490cb22c15b9160ddd19 /src/background/actions | |
parent | 0183161145d36cbafb7dbd86ca3a1aac6faca43f (diff) | |
parent | d262fd1a2f5d5c7864175acd54c910a064a42fc3 (diff) |
Merge pull request #23 from ueokande/winopen-command
winopen command
Diffstat (limited to 'src/background/actions')
-rw-r--r-- | src/background/actions/operation.js | 6 |
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: |