diff --git a/webapp/web/js/login/loginUtils.js b/webapp/web/js/login/loginUtils.js index 9aa279de9..06df844a9 100644 --- a/webapp/web/js/login/loginUtils.js +++ b/webapp/web/js/login/loginUtils.js @@ -9,9 +9,6 @@ $(document).ready(function(){ $('.focus').focus(); // fade in error alerts - $('section#error-alert').css('display', 'none').fadeIn(1500); - - // fade in fash-message when user log out - $('section#flash-message').css('display', 'none').fadeIn(1500); + $('section#error-alert').css('display', 'none').fadeIn(1500); }); \ No newline at end of file diff --git a/webapp/web/js/vitroUtils.js b/webapp/web/js/vitroUtils.js index 164a0a975..d84d8bcbd 100755 --- a/webapp/web/js/vitroUtils.js +++ b/webapp/web/js/vitroUtils.js @@ -5,4 +5,6 @@ $(document).ready(function(){ // fade out welcome-message when user logs in $('section#welcome-message').css('display', 'block').delay(2000).fadeOut(1500); + // fade in flash-message when user logs out + $('section#flash-message').css('display', 'none').fadeIn(1500); }); \ No newline at end of file