From e222d9527c03cd8e6ccf78e0cbbe5f0768a6347b Mon Sep 17 00:00:00 2001 From: zhulianghua Date: Fri, 17 Aug 2018 13:56:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=9A=E5=8A=A1=E7=94=B3?= =?UTF-8?q?=E8=AF=B7javascript=E5=AF=B9=E8=B1=A1=E9=87=8A=E6=94=BE?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Frame/page/js/as_widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebContent/Frame/page/js/as_widget.js b/WebContent/Frame/page/js/as_widget.js index 4e324d84c..742b8b628 100644 --- a/WebContent/Frame/page/js/as_widget.js +++ b/WebContent/Frame/page/js/as_widget.js @@ -178,9 +178,9 @@ var AsButton = { try{ fun(); }finally{ - var b = btn[0].clientHeight; - if(b > 0) { + try{ btn.removeClass('unable'); + } catch(e) { } } }