summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--priv/bullet.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/priv/bullet.js b/priv/bullet.js
index d30dbc5..ede2445 100644
--- a/priv/bullet.js
+++ b/priv/bullet.js
@@ -115,7 +115,6 @@
fake.onopen(fake);
}
-
xhr = $.ajax({
type: 'GET',
url: fakeurl,
@@ -132,9 +131,7 @@
}
},
error: function(xhr){
- if (fake.readyState == OPEN){
- nextPoll();
- }
+ fake.onerror();
}
});
}