aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/platforms/extension.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/platforms/extension.js')
-rw-r--r--app/scripts/platforms/extension.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js
index 1cab0bedd..452a51bd8 100644
--- a/app/scripts/platforms/extension.js
+++ b/app/scripts/platforms/extension.js
@@ -36,12 +36,6 @@ class ExtensionPlatform {
extension.runtime.onMessage.addListener(cb)
}
- sendMessageToActiveTab (message, query = {}) {
- extension.tabs.query(query, tabs => {
- const activeTab = tabs.filter(tab => tab.active)[0]
- extension.tabs.sendMessage(activeTab.id, message)
- })
- }
}
module.exports = ExtensionPlatform