summaryrefslogtreecommitdiff
path: root/ext/util.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-03-23 19:41:13 -0700
committerAlex Yatskov <alex@foosoft.net>2016-03-23 19:41:13 -0700
commit62a47278b5f5751ceaac18a26659c794fbc0ed84 (patch)
treeca9d9733cfc30ea762ecc866ce5dbd35440076c3 /ext/util.js
parent2fe2e993ee1cdc80c91b03809a715f62995a8132 (diff)
WIP
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);
}