can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r22391: LJSUP-12792: IE media queries support

Committer: dpetrov
LJSUP-12792: IE media queries support
U   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();
+	}
 };
 
 /**

Tags: can3p, dpetrov, js, livejournal
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments