Widget:indexSorterGrouper: Difference between revisions
Jump to navigation
Jump to search
Changed search to class names instead of spans |
m Missing dot |
||
Line 5: | Line 5: | ||
$(".card-bg-small").each(function() { | $(".card-bg-small").each(function() { | ||
var element = $(this); | var element = $(this); | ||
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").eq(2).attr("src"); | var srcStr = element.find("img").eq(2).attr("src"); | ||
var myRegexp = /^.*Icon_(.*)_(.*)star.*$/g; | var myRegexp = /^.*Icon_(.*)_(.*)star.*$/g; |
Revision as of 21:02, 9 November 2019
Released on this server: