frontend: Make signup/login/passwordreset/forgot forms submittable

Fixes #117
This commit is contained in:
Johannes Zellner
2019-03-02 20:37:35 +01:00
parent 9d6955b81e
commit b4790397c9
8 changed files with 86 additions and 66 deletions

View File

@@ -4,7 +4,9 @@
(document);
// Talks to the API and sends an reset email.
global.sendResetHex = function() {
global.sendResetHex = function(event) {
event.preventDefault();
var allOk = global.unfilledMark(["#email"], function(el) {
el.css("border-bottom", "1px solid red");
});