From 12696d3e6b3d7f1b92923ed625fdb3dc5ec660f2 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 26 Mar 2016 14:16:21 -0700 Subject: Reorg --- ext/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/api.js') 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) { -- cgit v1.2.3