summaryrefslogtreecommitdiff
path: root/readable.js
diff options
context:
space:
mode:
Diffstat (limited to 'readable.js')
-rwxr-xr-xreadable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/readable.js b/readable.js
index 726f522..6fff651 100755
--- a/readable.js
+++ b/readable.js
@@ -4,7 +4,7 @@
* See COPYING file for copyright, license and warranty details.
*/
-if(window.content.document.readable_original === undefined) window.content.document.readable_original = false;
+if(window.content && window.content.document.readable_original === undefined) window.content.document.readable_original = false;
function readable()
{