Fix archive butterbar margin-top

This commit is contained in:
Misty Stanley-Jones
2017-10-24 16:53:08 -07:00
committed by Misty Stanley-Jones
parent 7f34b89fd9
commit 417e8579a4

View File

@@ -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!");
}
});
});