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) {
diff --git a/ext/background.html b/ext/background.html
index 09a21779..665bc968 100644
--- a/ext/background.html
+++ b/ext/background.html
@@ -5,6 +5,6 @@
-
+