From 2eb2cd366eaac7267ab152936fc6bf49895078d9 Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Tue, 22 Jan 2019 16:02:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=8F=90=E4=BA=A4=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/static/global/scripts/common.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 4322418ea..fb6744849 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -108,10 +108,10 @@ $(function(){ text=$(element).text().trim() } if(!$(element).find(".tooltips").length>0&&typeof($(element).attr("title"))!="undefined"&&$(element).attr("title")!=null&&$(element).attr("title").length > 0){ -// text=$(element).attr("titleHidden").trim(); -// if(text==null&&text==''){ + text=$(element).attr("titleHidden").trim(); + if(text==null&&text==''){ text=$(element).attr("title").trim(); -// } + } } // text=text.replace(/[\r\n]/g,"");// 去掉换行 //特殊字符转义