htdocs: Solve the problem that the login form is misplaced due to the prompt information

Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
This commit is contained in:
Yanlan Shen 2018-12-10 15:46:27 +08:00 committed by rosysong
parent ab22b84762
commit 4c33cc6d3a

View File

@ -242,7 +242,7 @@ $(".main > .loading").fadeIn('fast');
$('header .close').css('display', 'inline-block');
});
var waringL = $('.node-main-login .alert-message.warning').length;
var waringL = $('.node-main-login form .alert-message.warning').length;
var inp = $('.node-main-login>.main form .cbi-button-apply');
var top = parseInt($('.node-main-login>.main form .cbi-button-apply').css('top'));
if(waringL > 0){