Widget:indexSorterGrouper: Difference between revisions
Jump to navigation
Jump to search
m Adjusting position |
Adding some data for sorting |
||
Line 12: | Line 12: | ||
var classification = match[1]; | var classification = match[1]; | ||
var rarity = match[2]; | var rarity = match[2]; | ||
var serverDataSpans = $("span.serverdata[data-server-doll='" + name + "']"); | |||
serverDataSpans.each(function() { | |||
var serverDataSpan = $(this); | |||
var serverShort = serverDataSpan.attr('data-server-released'); | |||
var serverDollName = serverDataSpan.attr('data-server-releasename'); | |||
element.data("data-server-" + serverShort, serverDollName); | |||
}); | |||
serverDataSpans.remove(); | |||
element.data('name', name); | element.data('name', name); |
Revision as of 14:00, 7 October 2018
Released on this server: