Skip to content

Commit 2a5db4d

Browse files
committed
Update src/jquery.columnizer.js
Fixed a bug that caused an extra div wrapper around columnized content when it only used one column. By appending the contents of the $destroyable instead of $destroyable, this issue is solved.
1 parent 91e3d60 commit 2a5db4d

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
@@ -342,7 +342,7 @@
342342
overflow.innerHTML = html;
343343

344344
}else{
345-
$col.append($destroyable);
345+
$col.append($destroyable.contents());
346346
}
347347
$inBox.data("columnizing", false);
348348

0 commit comments

Comments
 (0)