Skip to content

Commit 2a35668

Browse files
committed
Merge pull request adamwulf#104 from vldmit/master
Enable removeiffirst and removeiflast classes for children in splitted elements
2 parents 0bbd90a + 6ece753 commit 2a35668

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/jquery.columnizer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -596,6 +596,8 @@
596596
}
597597
$inBox.find(prefixTheClassName("column", true)).find(":first" + prefixTheClassName("removeiffirst", true)).remove();
598598
$inBox.find(prefixTheClassName("column", true)).find(':last' + prefixTheClassName("removeiflast", true)).remove();
599+
$inBox.find(prefixTheClassName("split", true)).find(":first" + prefixTheClassName("removeiffirst", true)).remove();
600+
$inBox.find(prefixTheClassName("split", true)).find(':last' + prefixTheClassName("removeiflast", true)).remove();
599601
$inBox.data("columnizing", false);
600602

601603
if(options.overflow){

0 commit comments

Comments
 (0)