Commit c2b30a91 by agan

提交

parent 7e91aa72
Showing with 4 additions and 7 deletions
...@@ -378,19 +378,16 @@ ...@@ -378,19 +378,16 @@
var url = 'https://big.bgp.ourpow.com/apk/nf/Release-' + andoridData + '.apk' var url = 'https://big.bgp.ourpow.com/apk/nf/Release-' + andoridData + '.apk'
$.ajax({ var mAjax = $.ajax({
url: url, url: url,
statusCode: { statusCode: {
404: function () { 404: function () {
window.location.href = 'https://big.bgp.ourpow.com/apk/nf/Release-ftsB.apk'; window.location.href = 'https://big.bgp.ourpow.com/apk/nf/Release-ftsB.apk';
}
}, },
success: function () { 200: function(){
mAjax.abort();
window.location.href = url; window.location.href = url;
//如果是安卓推特上 }
// if(ua.indexOf('TwitterAndroid')>-1){
// alter('请点击右上角在外部浏览器打开');
// }
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment