We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 478350c + c928d0e commit 8056f53Copy full SHA for 8056f53
src/jquery.columnizer.js
@@ -522,7 +522,9 @@
522
}else if(!scrollHorizontally){
523
// the last column in the series
524
$col = $inBox.children().eq($inBox.children().length-1);
525
- while($destroyable.contents().length) $col.append($destroyable.contents(":first"));
+ $destroyable.contents().each( function() {
526
+ $col.append( $(this) );
527
+ });
528
var afterH = $col.height();
529
var diff = afterH - targetHeight;
530
var totalH = 0;
0 commit comments