Widget:indexSorterGrouper/sandbox: Difference between revisions
Jump to navigation
Jump to search
More debugging |
Removing first function |
||
(One intermediate revision by the same user not shown) | |||
Line 55: | Line 55: | ||
}); | }); | ||
}]); | }]); | ||
function getFirstLetterGroup(element) { | |||
if (!element || element == null) { | |||
return " "; | |||
} | |||
var letter = element.charAt(0); | |||
if (letter >= "0" && letter <= "9") { | |||
letter = "#"; | |||
} | |||
return letter.toLowerCase(); | |||
} | |||
</script><div style="display:inline-block"> | </script><div style="display:inline-block"> | ||
<button class="gf-button" data-tdollsortbutton="true" disabled data-initialsort="true" onclick="orderByClassRarityName(this);">By Class>Rarity>Name</button> | <button class="gf-button" data-tdollsortbutton="true" disabled data-initialsort="true" onclick="orderByClassRarityName(this);">By Class>Rarity>Name</button> |
Latest revision as of 00:23, 27 July 2024
Released on this server: