Skip to content

Commit

Permalink
(EasyMDE) Corrige l'envoi des formulaires avec l'attribut "required"
Browse files Browse the repository at this point in the history
  • Loading branch information
Situphen committed Jan 20, 2020
1 parent 9cd0f4e commit 3308bf6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/js/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -648,5 +648,7 @@
easyMDE.codemirror.addKeyMap({
"Cmd-Enter": submit
})

this.removeAttribute("required");
});
})(jQuery);

0 comments on commit 3308bf6

Please sign in to comment.