diff options
author | Nick White <git@njw.me.uk> | 2011-06-24 00:41:57 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-06-24 00:41:57 +0100 |
commit | 46b278a007fdc87b9337015ad7208c257d0fdff1 (patch) | |
tree | 181d3d57f51269bfeb147c6abbf5a63889aebaf7 | |
parent | 2ee9526cd287906dfd951cccc21edb5a28f78024 (diff) |
Fix little bug in viablev0.5
-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; |