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:
parent
b75fbf22ca
commit
34fca29dd3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue