From: Alexander Ebert Date: Thu, 7 Nov 2013 21:42:25 +0000 (+0100) Subject: Improved IE rendering fix X-Git-Tag: 2.0.0_RC_1~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=11c812ebea18b09470baf873553cd86f7c846968;p=GitHub%2FWoltLab%2FWCF.git Improved IE rendering fix --- diff --git a/com.woltlab.wcf/templates/headInclude.tpl b/com.woltlab.wcf/templates/headInclude.tpl index 31d3236f64..7557613f98 100644 --- a/com.woltlab.wcf/templates/headInclude.tpl +++ b/com.woltlab.wcf/templates/headInclude.tpl @@ -178,18 +178,16 @@ new WCF.System.KeepAlive({@$__sessionKeepAlive}); {/if} - // Internet Explorer seems to be unable to properly revert CSS applied through - // media queries and sometimes temporarily apply them on init even though they - // should not match + // Internet Explorer seems to be unable to properly revert display: table-cell + // if it was previously 'none' and table-layout: fixed is set if ($.browser.msie) { var $sidebar = $('#main > div > div .sidebar'); function fixSidebarIE() { $sidebar.css('display', 'none').css('display', ''); } - fixSidebarIE(); + //fixSidebarIE(); $(window).resize(fixSidebarIE); - } }); //]]>