summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2013-03-15 16:47:22 +0100
committerJan Lehnardt <jan@apache.org>2013-03-15 16:47:47 +0100
commit0adddab4a8fa8672e0299527c6f4284e7f6cd686 (patch)
tree8223399d5d4392a43ac932c4bd0414dfd5664adf
parent341e8bffd19ae1701baaa6a536e7b19ef7e89eca (diff)
downloadcouchdb-0adddab4a8fa8672e0299527c6f4284e7f6cd686.tar.gz
fix `make check-js`
-rw-r--r--share/www/script/test/attachment_ranges.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/test/attachment_ranges.js b/share/www/script/test/attachment_ranges.js
index 9b32681f4..ee1129a4b 100644
--- a/share/www/script/test/attachment_ranges.js
+++ b/share/www/script/test/attachment_ranges.js
@@ -23,7 +23,7 @@ couchTests.attachment_ranges = function(debug) {
if (debug) debugger;
- if(window.navigator.userAgent.match(/Chrome/)) {
+ if(window && window.navigator.userAgent.match(/Chrome/)) {
// Chrome is broken.
return;
}