Skip to content

Commit 830805b

Browse files
committed
updated another comparison to 0 to ===
1 parent 0f24a3d commit 830805b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.columnizer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@
578578
$inBox.children().each(function(i){
579579
$col = $inBox.children().eq(i);
580580
$col.width(optionWidth + "px");
581-
if(i==0){
581+
if(i === 0){
582582
$col.addClass(prefixTheClassName("first"));
583583
}else if(i==$inBox.children().length-1){
584584
$col.addClass(prefixTheClassName("last"));

0 commit comments

Comments
 (0)