diff options
-rwxr-xr-x | chromium/viablehook.js | 2 | ||||
-rw-r--r-- | gecko/viablehook.js | 2 | ||||
-rwxr-xr-x | viable.js | 2 |
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); @@ -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; |