Somehow a missing expression that affects playtest but not prod??

This commit is contained in:
Christian 'ketura' McCarty
2025-04-29 02:52:29 -05:00
parent ca4177b46d
commit b42b4b05c8

View File

@@ -69,6 +69,12 @@ var GempLotrDeckBuildingUI = Class.extend({
this.collectionType = "default";
$.expr[':'].cardId = function (obj, index, meta, stack) {
var cardIds = meta[3].split(",");
var cardData = $(obj).data("card");
return (cardData != null && ($.inArray(cardData.cardId, cardIds) > -1));
};
this.cardFilter = new CardFilter($("#collectionDiv"),
function (filter, start, count, callback) {
that.comm.getCollection(that.collectionType, filter, start, count, function (xml) {