Skip to content

Commit

Permalink
fix: show tooltips on invalid form
Browse files Browse the repository at this point in the history
  • Loading branch information
ViRb3 committed Feb 25, 2021
1 parent 453c870 commit 41ba8b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/index.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
});
formSubmit.addEventListener("click", function () {
if (!uploadForm.checkValidity()) {
uploadForm.reportValidity()
return
}
formSubmit.classList.add("disabled")
Expand Down

0 comments on commit 41ba8b2

Please sign in to comment.