From 11c812ebea18b09470baf873553cd86f7c846968 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 7 Nov 2013 22:42:25 +0100 Subject: [PATCH] Improved IE rendering fix --- com.woltlab.wcf/templates/headInclude.tpl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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); - } }); //]]> -- 2.20.1