Skip to content

Commit

Permalink
Port fix for #956
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Mar 13, 2013
1 parent 36865c2 commit c0ddd8b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions modules/jquery/src/main/webapp/jquery/jquery.atmosphere.js
Original file line number Diff line number Diff line change
Expand Up @@ -2249,12 +2249,8 @@ jQuery.atmosphere = function() {
}

// Ugly see issue 400.
if (_response.responseBody.length == 0 && _response.transport == 'streaming' && _response.state == "messageReceived") {
var ua = navigator.userAgent.toLowerCase();
var isAndroid = ua.indexOf("android") > -1;
if (isAndroid) {
continue;
}
if (_response.responseBody.length == 0 && _response.state == "messageReceived") {
continue;
}

_invokeFunction(_response);
Expand Down

0 comments on commit c0ddd8b

Please sign in to comment.