Revert "Somehow a missing expression that affects playtest but not prod??"
This reverts commit b42b4b05c8.
This commit is contained in:
@@ -69,12 +69,6 @@ var GempLotrDeckBuildingUI = Class.extend({
|
|||||||
|
|
||||||
this.collectionType = "default";
|
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"),
|
this.cardFilter = new CardFilter($("#collectionDiv"),
|
||||||
function (filter, start, count, callback) {
|
function (filter, start, count, callback) {
|
||||||
that.comm.getCollection(that.collectionType, filter, start, count, function (xml) {
|
that.comm.getCollection(that.collectionType, filter, start, count, function (xml) {
|
||||||
|
|||||||
Reference in New Issue
Block a user