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();
if (isFileProtocol) {
if (xhr.status === 0) {
if (xhr.status === 0 || xhr.status === 200) {
success(xhr, options);
} else {
failure(options.url);

Loading…
Cancel
Save