summaryrefslogtreecommitdiff
path: root/readable.js
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-11-11 19:46:20 +0000
committerNick White <git@njw.me.uk>2010-11-11 19:46:20 +0000
commitcf8c1d39eb4d2ccd8cb5dfbe7931bc2aa116a3c7 (patch)
tree7cab2d7f3bdf31b01f8b66eff6a1132247a3d32d /readable.js
parent6db0cdc5206417ad9f19c3b4a8422fe268957cd0 (diff)
Add basic chromium extension
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()
{