Improved IE rendering fix
authorAlexander Ebert <ebert@woltlab.com>
Thu, 7 Nov 2013 21:42:25 +0000 (22:42 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 7 Nov 2013 21:42:25 +0000 (22:42 +0100)
com.woltlab.wcf/templates/headInclude.tpl

index 31d3236f642e06e21897dd8394ecb3dfabc36d1c..7557613f989d233d5194ab13e90eba3e0ef74d23 100644 (file)
                        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);
-                       
                }
        });
        //]]>