From f62718326da5a2d60dd5da677d0697bb02437eb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Thu, 19 Apr 2018 19:06:00 +0800 Subject: [PATCH] add --- fangija-zsyf/main.html | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) 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(); + } } })