From be32d5e65d9d3be39c8b33de3ff75f01509b2f4c Mon Sep 17 00:00:00 2001 From: popcorner <351633+popcorner@user.noreply.gitee.com> Date: Sun, 5 Apr 2020 04:32:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=9C=A8=E5=AE=BD?= =?UTF-8?q?=E5=B1=8F=E6=A8=A1=E5=BC=8F=E4=B8=8B=E7=82=B9=E5=87=BB=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E9=85=8D=E8=89=B2=E6=97=B6=EF=BC=8C=E5=AE=BD=E5=B1=8F?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E8=A2=AB=E7=A0=B4=E5=9D=8F=E4=B8=94=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=88=87=E6=8D=A2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/static/js/common.js | 2 +- upload/static/js/common_extra.js | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/upload/static/js/common.js b/upload/static/js/common.js index 69788a75d..c1a28690f 100644 --- a/upload/static/js/common.js +++ b/upload/static/js/common.js @@ -576,7 +576,7 @@ function loadcss(cssname) { var headNode = document.getElementsByTagName("head")[0]; headNode.appendChild(css); } else { - $('css_' + cssname).href = csspath + STYLEID + '_' + cssname + '&' + VERHASH; + $('css_' + cssname).href = csspath + STYLEID + '_' + cssname + '.css?' + VERHASH; } CSSLOADED[cssname] = 1; } diff --git a/upload/static/js/common_extra.js b/upload/static/js/common_extra.js index 873a8c1d9..7c158abd2 100644 --- a/upload/static/js/common_extra.js +++ b/upload/static/js/common_extra.js @@ -1091,10 +1091,6 @@ function _extstyle(css) { $('css_extstyle').href = css ? css + '/style.css' : STATICURL + 'image/common/extstyle_none.css'; currentextstyle = css; setcookie('extstyle', css, 86400 * 30); - if($('css_widthauto') && !$('css_widthauto').disabled) { - CSSLOADED['widthauto'] = 0; - loadcss('widthauto'); - } } function _widthauto(obj) { -- Gitee