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.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/background/actions/operation.js b/src/background/actions/operation.js
index 1188ea2..56eb168 100644
--- a/src/background/actions/operation.js
+++ b/src/background/actions/operation.js
@@ -73,6 +73,10 @@ const exec = (operation, tab) => {
return browser.tabs.sendMessage(tab.id, {
type: messages.CONSOLE_SHOW_FIND
});
+ case operations.CANCEL:
+ return browser.tabs.sendMessage(tab.id, {
+ type: messages.CONSOLE_HIDE,
+ });
default:
return Promise.resolve();
}