Skip to content

Commit

Permalink
Update repeatable.js
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Dec 2, 2021
1 parent 62a8614 commit 22422b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/form/repeatable/repeatable.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Behaviour.specify("INPUT.repeatable-add", 'repeatable', 0, function(e) {
e = null; // avoid memory leak
});

Behaviour.specify("BUTTON.repeatable-delete", 'repeatable', 0, function(e) {
Behaviour.specify("BUTTON.repeatable-delete, INPUT.repeatable-delete", 'repeatable', 0, function(e) {
e.addEventListener("click", function() {
repeatableSupport.onDelete(e);
})
Expand Down

0 comments on commit 22422b9

Please sign in to comment.