fix the animated scroll target on the ssl panel to scroll so that the header is actually visible and not covered by the nav bar

This commit is contained in:
Joshua Tauberer 2014-10-23 17:10:21 +00:00
parent b75fbf22ca
commit 34fca29dd3
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ function ssl_install(elem) {
$('#csr_info').slideDown();
$('#ssl_csr').text('Loading...');
show_csr();
$('html, body').animate({ scrollTop: $('#ssl_install_header').offset().top })
$('html, body').animate({ scrollTop: $('#ssl_install_header').offset().top - $('.navbar-fixed-top').height() - 20 })
return false;
}