Skip to content

Commit ff14f1d

Browse files
committed
fix #17 multiple will only limit select
1 parent 61219a5 commit ff14f1d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/core.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ class Core extends Emitter {
2727
this.constraints = new Constraints;
2828
this.filters = new Filters;
2929

30-
if (!this.multiple) {
31-
this.capcity = 1;
32-
}
3330
if (this.capcity > 0) {
3431
this.addConstraint(() => this.stat.getTotal() >= this.capcity);
3532
}

0 commit comments

Comments
 (0)