Committer: dpetrov
LJSUP-12792: IE media queries supportU trunk/htdocs/js/livejournal.js
Modified: trunk/htdocs/js/livejournal.js =================================================================== --- trunk/htdocs/js/livejournal.js 2012-07-05 06:59:02 UTC (rev 22390) +++ trunk/htdocs/js/livejournal.js 2012-07-05 07:02:04 UTC (rev 22391) @@ -82,8 +82,11 @@ } }, 500); - $window.on('resize', resizeFunc); - resizeFunc(); + //Only older ies need thes (caniuse.com) + if (jQuery.browser.msie && Number(jQuery.browser.version) <= 8) { + $window.on('resize', resizeFunc); + resizeFunc(); + } }; /**