mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Fix archive butterbar margin-top
This commit is contained in:
committed by
Misty Stanley-Jones
parent
7f34b89fd9
commit
417e8579a4
@@ -29,10 +29,8 @@ if (window.navigator.onLine) {
|
||||
$(document).scroll(function() {
|
||||
if ( $( 'nav' ).hasClass( 'affix' ) ) {
|
||||
$('#archive-butterbar').addClass('fixed').removeClass('top');
|
||||
console.log("Fixed!");
|
||||
} else {
|
||||
$('#archive-butterbar').addClass('top').removeClass('fixed');
|
||||
console.log("Top!");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user