Skip to content

Commit

Permalink
Add event as param to click fn to prevent FF add subcollection error
Browse files Browse the repository at this point in the history
  • Loading branch information
vjrj committed Apr 25, 2019
1 parent d8177b1 commit 79f3ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grails-app/views/collection/description.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
$(event.target).parent().remove();
});
$('#addSubcollection').click(function(){
$('#addSubcollection').click(function(event){
event.preventDefault();
var $subcollection = $('#subcollection_template').clone();
Expand Down

0 comments on commit 79f3ee6

Please sign in to comment.