aboutsummaryrefslogtreecommitdiff
path: root/ext/util.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/util.js')
-rw-r--r--ext/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/util.js b/ext/util.js
index 8523fe22..0b92cde0 100644
--- a/ext/util.js
+++ b/ext/util.js
@@ -18,5 +18,5 @@
function findTerm(text, callback) {
- chrome.runtime.sendMessage({action: 'define', text: text}, callback);
+ window.chrome.runtime.sendMessage({action: 'define', text: text}, callback);
}