Changes

Jump to navigation Jump to search

Widget:indexSorterGrouper

108 bytes added, 03:14, 10 November 2019
Two different approachs?
// All elements inside the paragraph after the h2 which have special class
var elements = parent.next().children().nextUntil("h2", ".card-bg-small");
// Or the old way...
if (elements.length == 0) elements = parent.nextUntil("h2", ".card-bg-small");
elements.detach().sort(comparer);

Navigation menu