From b2abc1f389e3ec66f9bcb02b03c440cbcf014a9b Mon Sep 17 00:00:00 2001 From: mb863 Date: Mon, 22 Nov 2010 15:59:11 +0000 Subject: [PATCH] NIHVIVO-1361: Add less time for fading in alert messages. --- webapp/web/js/login/loginUtils.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/webapp/web/js/login/loginUtils.js b/webapp/web/js/login/loginUtils.js index ddafd0924..dd2904887 100644 --- a/webapp/web/js/login/loginUtils.js +++ b/webapp/web/js/login/loginUtils.js @@ -7,11 +7,12 @@ $(document).ready(function(){ // focus on email or newpassword field $('.focus').focus(); + + // fade out error alerts + $('#errorAlert').css('display', 'none'); + $('#errorAlert').fadeIn(500); }); -// fade out error alerts -$('#errorAlert').css('display', 'none'); -$('#errorAlert').fadeIn(2000); - +