diff options
author | Nick White <git@njw.me.uk> | 2011-12-11 13:47:14 +0000 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-12-11 13:47:14 +0000 |
commit | 0a02e740fb0ce5cabd0ea5b6f3f6f72c30a66cf7 (patch) | |
tree | baa72101159841235216b0feb0af5546cde83209 | |
parent | 1845bcb3ac081d5c28bade2f8e099da298652a53 (diff) |
Firm up simplyread.js a tiny bit more
-rwxr-xr-x | simplyread.js | 2 |
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) { |