From 88eb29f855e3b3b8bd0e61622a2a822db649ac6d Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Tue, 20 Dec 2016 14:49:40 +0100 Subject: [PATCH] Use span instead of div --- templates/register.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/templates/register.html b/templates/register.html index 4723799..0019f55 100644 --- a/templates/register.html +++ b/templates/register.html @@ -32,7 +32,7 @@ } return match; }, - success: function() { + success: function() { window.location.href = "/api/v1/restricted"; }, error: function() { @@ -58,10 +58,8 @@
-
- -
-
+ +
Username already exists