From 2ada5ec715dae66bb215b63419515ba272fcbe70 Mon Sep 17 00:00:00 2001 From: Scott Moore Date: Fri, 7 Mar 2014 21:16:05 -0700 Subject: [PATCH] The conditional comment for IE6 detection causes an error with yui-compressor the way it was written. This improvement adds compatiblity with YUI-Compressor. --- src/jquery.columnizer.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/jquery.columnizer.js b/src/jquery.columnizer.js index 5d77e71..8767221 100644 --- a/src/jquery.columnizer.js +++ b/src/jquery.columnizer.js @@ -526,7 +526,12 @@ } } if(options.overflow && !scrollHorizontally){ - var IE6 = false /*@cc_on || @_jscript_version < 5.7 @*/; + var IE6 = false; + /*@cc_on + @if (@_jscript_version < 5.7) + IE6 = true; + @end + @*/ var IE7 = (document.all) && (navigator.appVersion.indexOf("MSIE 7.") != -1); if(IE6 || IE7){ var html = "";