summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-06-24 00:41:57 +0100
committerNick White <git@njw.me.uk>2011-06-24 00:41:57 +0100
commit46b278a007fdc87b9337015ad7208c257d0fdff1 (patch)
tree181d3d57f51269bfeb147c6abbf5a63889aebaf7
parent2ee9526cd287906dfd951cccc21edb5a28f78024 (diff)
Fix little bug in viablev0.5
-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;