summaryrefslogtreecommitdiff
path: root/ext/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/api.js')
-rw-r--r--ext/api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/api.js b/ext/api.js
index 6e9d6f4f..496f8be3 100644
--- a/ext/api.js
+++ b/ext/api.js
@@ -18,7 +18,7 @@
function sendMessage(action, data, callback) {
- window.chrome.runtime.sendMessage({action: action, data: data}, callback);
+ chrome.runtime.sendMessage({action: action, data: data}, callback);
}
function findTerm(text, callback) {