diff --git a/webapp/web/js/login/loginUtils.js b/webapp/web/js/login/loginUtils.js index e0848fc14..1c46d8d7b 100644 --- a/webapp/web/js/login/loginUtils.js +++ b/webapp/web/js/login/loginUtils.js @@ -8,10 +8,10 @@ $(document).ready(function(){ // focus on email or newpassword field $('.focus').focus(); - // fade out error alerts + // fade in error alerts $('section#error-alert').css('display', 'none').fadeIn(1500); - // fade out fash-message when user log out + // fade in fash-message when user log out $('section#flash-message').css('display', 'none').fadeIn(1500); }); \ No newline at end of file diff --git a/webapp/web/templates/freemarker/widgets/widget-login.ftl b/webapp/web/templates/freemarker/widgets/widget-login.ftl index d013a04a9..3941f3a39 100644 --- a/webapp/web/templates/freemarker/widgets/widget-login.ftl +++ b/webapp/web/templates/freemarker/widgets/widget-login.ftl @@ -7,8 +7,8 @@ See NIHVIVO-1357. This test does nothing, since user has not been put into the data model. <#if ! user.loggedIn> --> ${stylesheets.add("/css/login.css")} - ${scripts.add("/js/login/loginUtils.js")} - <#-- ${headScripts.add("")} --> + <#-- ${scripts.add("")} --> + ${headScripts.add("/js/login/loginUtils.js")} <#-- -->