summaryrefslogtreecommitdiff
path: root/simplyread.js
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2011-12-11 13:47:14 +0000
committerNick White <git@njw.me.uk>2011-12-11 13:47:14 +0000
commit0a02e740fb0ce5cabd0ea5b6f3f6f72c30a66cf7 (patch)
treebaa72101159841235216b0feb0af5546cde83209 /simplyread.js
parent1845bcb3ac081d5c28bade2f8e099da298652a53 (diff)
Firm up simplyread.js a tiny bit more
Diffstat (limited to 'simplyread.js')
-rwxr-xr-xsimplyread.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/simplyread.js b/simplyread.js
index 1f5ba17..15baf2b 100755
--- a/simplyread.js
+++ b/simplyread.js
@@ -1,6 +1,6 @@
/* See COPYING file for copyright, license and warranty details. */
-if(window.content && window.content.document.simplyread_original === undefined) window.content.document.simplyread_original = false;
+if(window.content && window.content.document && window.content.document.simplyread_original === undefined) window.content.document.simplyread_original = false;
function simplyread(nostyle, nolinks)
{