diff --git a/upload/static/js/common.js b/upload/static/js/common.js index 69788a75dbb7f9ed1c6660368810e06a9f805582..c1a28690f11c7e73e77f6d35849f80788b4563d5 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 873a8c1d93dfc7d658bdeb1a18b2c35ad37285c9..7c158abd2324b08b70b187f2373214bd4d94cc26 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) {