summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xchromium/viablehook.js2
-rw-r--r--gecko/viablehook.js2
-rwxr-xr-xviable.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/chromium/viablehook.js b/chromium/viablehook.js
index 80bb673..344d0bc 100755
--- a/chromium/viablehook.js
+++ b/chromium/viablehook.js
@@ -1 +1 @@
-if(simplyread-viable()) chrome.extension.sendRequest({}, function(response) {});
+if(simplyread_viable()) chrome.extension.sendRequest({}, function(response) {});
diff --git a/gecko/viablehook.js b/gecko/viablehook.js
index 8facf3e..1573d23 100644
--- a/gecko/viablehook.js
+++ b/gecko/viablehook.js
@@ -1,5 +1,5 @@
function srviable() {
- document.getElementById("simplyread-btn").disabled = !simplyread-viable();
+ document.getElementById("simplyread-btn").disabled = !simplyread_viable();
}
window.addEventListener("DOMContentLoaded", srviable, false);
gBrowser.tabContainer.addEventListener("TabSelect", srviable, false);
diff --git a/viable.js b/viable.js
index 8424451..23d6fda 100755
--- a/viable.js
+++ b/viable.js
@@ -1,6 +1,6 @@
/* See COPYING file for copyright, license and warranty details. */
-function simplyread-viable() {
+function simplyread_viable() {
var doc;
doc = (document.body === undefined)
? window.content.document : document;