Widget:indexSorterGrouper: Difference between revisions
Jump to navigation
Jump to search
Just testing stuff |
m Small fix and remove of logging |
||
Line 8: | Line 8: | ||
var index = parseInt(element.find('.index').last().text()); | var index = parseInt(element.find('.index').last().text()); | ||
var srcStr = element.find("img.rarity-class").attr("src"); | var srcStr = element.find("img.rarity-class").attr("src"); | ||
var myRegexp = /^.*Icon_(.*)_(.*)star.*$/g; | var myRegexp = /^.*Icon_(.*)_(.*)star.*$/g; | ||
var match = myRegexp.exec(srcStr); | var match = myRegexp.exec(srcStr); | ||
Line 284: | Line 283: | ||
nameToSet = element.attr('data-server-wiki'); | nameToSet = element.attr('data-server-wiki'); | ||
} | } | ||
element.find('name').first().text(nameToSet); | element.find('.name').first().text(nameToSet); | ||
}); | }); | ||
Revision as of 02:54, 10 November 2019
Released on this server: