diff options
Diffstat (limited to 'src/background/components/operation.js')
-rw-r--r-- | src/background/components/operation.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/background/components/operation.js b/src/background/components/operation.js index 9a0b4e1..58edb8c 100644 --- a/src/background/components/operation.js +++ b/src/background/components/operation.js @@ -90,6 +90,11 @@ export default class BackgroundComponent { return this.sendConsoleShowCommand(tab, 'winopen '); case operations.COMMAND_SHOW_BUFFER: return this.sendConsoleShowCommand(tab, 'buffer '); + case operations.COMMAND_SHOW_ADDBOOKMARK: + if (operation.alter) { + return this.sendConsoleShowCommand(tab, 'addbookmark ' + tab.title); + } + return this.sendConsoleShowCommand(tab, 'addbookmark '); case operations.FIND_START: return browser.tabs.sendMessage(tab.id, { type: messages.CONSOLE_SHOW_FIND |