Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
DevAdm committed Jul 24, 2024
1 parent 111c96c commit 135f76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/theses.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $(document).ready(function () {

$(".simple_form").on("click", ".remove_fields", function (event) {
$(this).prev("input[type=hidden]").val("1");
$(this).closest("fieldset").hide();
$(this).closest("fieldset").remove();
event.preventDefault();
});

Expand Down

0 comments on commit 135f76e

Please sign in to comment.