Changes

Jump to navigation Jump to search

Widget:indexSorterGrouper

105 bytes added, 03:11, 10 November 2019
Different approach
var name = element.find('.name').first().text();
var index = parseInt(element.find('.index').last().text());
var srcStr = element.find("img.rarity-class").eq(2).attr("src");
var myRegexp = /^.*Icon_(.*)_(.*)star.*$/g;
var match = myRegexp.exec(srcStr);
nameToSet = element.attr('data-server-wiki');
}
element.find('.name').first().text(nameToSet);
});
parents.each(function() {
var parent = $(this);
// All elements inside the paragraph after the h2 which have special class var elements = parent.next().children().nextUntil("h2", ".card-bg-small");
elements.detach().sort(comparer);

Navigation menu