mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-09 23:18:02 -05:00
XHR-Multipart readyState fix
This commit is contained in:
@@ -7,7 +7,6 @@ io.Transport['xhr-multipart'] = io.Transport.XHR.extend({
|
||||
this._xhr = this._request('', 'GET', true);
|
||||
this._xhr.onreadystatechange = function(){
|
||||
if (self._xhr.readyState == 3) self._onData(self._xhr.responseText);
|
||||
else if (self._xhr.status == 200 && self._xhr.readyState == 4) self.connect();
|
||||
};
|
||||
this._xhr.send();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user