Skip to content

Commit

Permalink
Bugfix: formatted DText is already being validated by the site itself
Browse files Browse the repository at this point in the history
  • Loading branch information
bitWolfy committed Apr 19, 2020
1 parent 06f7c36 commit ef78671
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/js/modules/general/FormattingHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,6 @@ class FormattingHelper {

this.createDOM();

this.$form.submit((event) => {
if (this.$textarea.val() === "") {
event.preventDefault();
this.$container.addClass("invalid");
}
});

this.registerHotkeys();
}

Expand Down

0 comments on commit ef78671

Please sign in to comment.