Skip to content

Commit 2ada5ec

Browse files
committed
The conditional comment for IE6 detection causes an error with yui-compressor the way it was written. This improvement adds compatiblity with YUI-Compressor.
1 parent 7fbc54b commit 2ada5ec

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/jquery.columnizer.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,12 @@
526526
}
527527
}
528528
if(options.overflow && !scrollHorizontally){
529-
var IE6 = false /*@cc_on || @_jscript_version < 5.7 @*/;
529+
var IE6 = false;
530+
/*@cc_on
531+
@if (@_jscript_version < 5.7)
532+
IE6 = true;
533+
@end
534+
@*/
530535
var IE7 = (document.all) && (navigator.appVersion.indexOf("MSIE 7.") != -1);
531536
if(IE6 || IE7){
532537
var html = "";

0 commit comments

Comments
 (0)