We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec86098 commit 7154399Copy full SHA for 7154399
formwidgets/blocks/assets/js/blocks.js
@@ -184,7 +184,7 @@
184
185
if (this.options.maxItems && this.options.maxItems > 0) {
186
var repeatedItems = this.$el.find('> .field-repeater-items > .field-repeater-item').length,
187
- $addItemBtn = this.$el.find('> .field-repeater-add-item')
+ $addItemBtn = this.$el.find('> .field-repeater-items > .field-repeater-add-item')
188
189
$addItemBtn.toggle(repeatedItems < this.options.maxItems)
190
}
0 commit comments