Widget:indexSorterGrouper: Difference between revisions
Jump to navigation
Jump to search
m Missing dot |
Corrected find string for image name processing |
||
Line 7: | Line 7: | ||
var name = element.find('.name').first().text(); | var name = element.find('.name').first().text(); | ||
var index = parseInt(element.find('.index').last().text()); | var index = parseInt(element.find('.index').last().text()); | ||
var srcStr = element.find("img" | 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); |
Revision as of 02:40, 10 November 2019
Released on this server: