Browse Source

Fix for Android

Android was not working because the status is set to 200, not 0.
pull/558/head^2
Andrew Brereton 11 years ago
parent
commit
3b28000a36
  1. 2
      js/push.js

2
js/push.js

@ -256,7 +256,7 @@
xhr.send(); xhr.send();
if (isFileProtocol) { if (isFileProtocol) {
if (xhr.status === 0) { if (xhr.status === 0 || xhr.status === 200) {
success(xhr, options); success(xhr, options);
} else { } else {
failure(options.url); failure(options.url);

Loading…
Cancel
Save