mirror of
https://github.com/webxoss/webxoss-client.git
synced 2024-11-20 05:49:55 +01:00
fix bug in searching multi limiting cards
This commit is contained in:
parent
234e576c1c
commit
1497f87c87
2 changed files with 5 additions and 2 deletions
2
DeckEditor/Deck.min.js
vendored
2
DeckEditor/Deck.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -318,7 +318,10 @@ LimitingRule.parse = function (words) {
|
|||
},this);
|
||||
}
|
||||
if (!info.limiting) return flagNoLimiting;
|
||||
return inArr(info.limiting,matchedClasses);
|
||||
var limitings = info.limiting.split('/');
|
||||
return limitings.some(function (limiting) {
|
||||
return inArr(limiting,matchedClasses);
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue