From 3b28000a36ae428d9dc1e1e7338eb817065798fb Mon Sep 17 00:00:00 2001 From: Andrew Brereton Date: Wed, 6 Aug 2014 17:27:37 +1000 Subject: [PATCH] Fix for Android Android was not working because the status is set to 200, not 0. --- js/push.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/push.js b/js/push.js index 772a617..6c66a86 100644 --- a/js/push.js +++ b/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);