summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/static/js/contentcollector.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/contentcollector.js b/src/static/js/contentcollector.js
index 6a75de43..dd4fd1e5 100644
--- a/src/static/js/contentcollector.js
+++ b/src/static/js/contentcollector.js
@@ -311,7 +311,7 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class
['insertorder', 'first']
].concat(
_.map(state.lineAttributes,function(value,key){
- if (window.console) console.log([key, value])
+ if (typeof(window)!= 'undefined' && window.console) console.log([key, value])
return [key, value];
})
);