Permalink
Browse files

fix changes test to make it wokr on all browsers

  • Loading branch information...
1 parent ca1ba73 commit 0e5c44d86537715629012a96de31ac1d0d55d902 benoitc committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 share/www/script/test/changes.js
@@ -140,7 +140,7 @@ couchTests.changes = function(debug) {
xhr.abort();
// test Server Sent Event (eventsource)
- if (window.EventSource) {
+ if (!!window.EventSource) {
var source = new EventSource(
"/test_suite_db/_changes?feed=eventsource");
var results = [];

0 comments on commit 0e5c44d

Please sign in to comment.