Skip to content

Commit

Permalink
fixed bug when all columns are forbidden because they are too far pas…
Browse files Browse the repository at this point in the history
…t the minimum Y
  • Loading branch information
stutrek committed May 31, 2012
1 parent 59dd681 commit 3ac01d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.masonry.js
Expand Up @@ -313,7 +313,7 @@
}
}
if (potentialColumns.length === 0) {
for (var i=0; i < this.cols; i++) {
for (var i=0; i < groupColY.length; i++) {
potentialColumns.push(i);
}
potentialY = groupY;
Expand Down

0 comments on commit 3ac01d3

Please sign in to comment.