From 1ce1f2553102e7f1e68a394213677400a7e15a4e Mon Sep 17 00:00:00 2001 From: Chris Grabosky Date: Sun, 1 Sep 2019 14:29:57 -0400 Subject: [PATCH] alert when login failed --- Stitch-Hosting/admin/index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Stitch-Hosting/admin/index.html b/Stitch-Hosting/admin/index.html index f5dbce1..26ed1d3 100644 --- a/Stitch-Hosting/admin/index.html +++ b/Stitch-Hosting/admin/index.html @@ -117,9 +117,8 @@

Sign In

function loginFail(err) { console.error(`login failed with error: ${err}`); - $('#response').html("Login Failed"); - $('#response').removeAttr('class'); - $('#response').addClass("alert alert-danger"); + var msg = $('').hide().fadeIn(750); + $('#form-signin').prepend(msg); }