diff --git a/fangija-zsyf/main.html b/fangija-zsyf/main.html index ff4afd5..004bdf9 100644 --- a/fangija-zsyf/main.html +++ b/fangija-zsyf/main.html @@ -119,17 +119,15 @@ }, error: function(XMLHttpRequest, textStatus, errorThrown) { localStorage.setItem("showLoanMenu", false); - if(errorThrown == 'abort'){ - if(plus.webview.getWebviewById('error.html')==null){ - clicked('error.html',true,false,{},{},function(){ - window.location.reload(); - }) - }else{ - $(".loadingBg").hide(); - plus.nativeUI.closeWaiting(); - plus.webview.getWebviewById("error.html").show(); - } - } + if(plus.webview.getWebviewById('error.html')==null){ + clicked('error.html',true,false,{},{},function(){ + window.location.reload(); + }) + }else{ + $(".loadingBg").hide(); + plus.nativeUI.closeWaiting(); + plus.webview.getWebviewById("error.html").show(); + } } })