diff options
author | Jan Lehnardt <jan@apache.org> | 2013-03-15 16:47:22 +0100 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2013-03-15 16:47:47 +0100 |
commit | 0adddab4a8fa8672e0299527c6f4284e7f6cd686 (patch) | |
tree | 8223399d5d4392a43ac932c4bd0414dfd5664adf | |
parent | 341e8bffd19ae1701baaa6a536e7b19ef7e89eca (diff) | |
download | couchdb-0adddab4a8fa8672e0299527c6f4284e7f6cd686.tar.gz |
fix `make check-js`
-rw-r--r-- | share/www/script/test/attachment_ranges.js | 2 |
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; } |