Widget:indexSorterGrouper: Difference between revisions
Jump to navigation
Jump to search
Changed class name |
m Missed some parts |
||
Line 283: | Line 283: | ||
$('[data-tdollserverbutton="true"]').removeClass("enabled"); | $('[data-tdollserverbutton="true"]').removeClass("enabled"); | ||
$('. | $('.gfl-doll-card.unreleased').removeClass('unreleased'); | ||
$('. | $('.gfl-doll-card').each(function() { | ||
var element = $(this); | var element = $(this); | ||
var nameToSet = ""; | var nameToSet = ""; | ||
Line 306: | Line 306: | ||
var parent = $(this); | var parent = $(this); | ||
// All elements inside the paragraph after the h2 which have special class | // All elements inside the paragraph after the h2 which have special class | ||
var elements = parent.nextUntil("h2", ". | var elements = parent.nextUntil("h2", ".gfl-doll-card"); | ||
elements.detach().sort(comparer); | elements.detach().sort(comparer); |
Revision as of 22:28, 24 June 2024
Released on this server: