summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/js/sse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/sse.js b/assets/js/sse.js
index 3601b5af..4f7320b3 100644
--- a/assets/js/sse.js
+++ b/assets/js/sse.js
@@ -94,7 +94,7 @@ var SSE = function (url, options) {
}
this._onStreamProgress = function(e) {
- if (this.xhr.status !== 200) {
+ if (this.xhr.status !== 200 && this.readyState !== this.CLOSED) {
this._onStreamFailure(e);
return;
}