remove navbar style change when scrolling down. Improves #39

lektura
max.mehl 2017-08-29 21:05:18 +02:00
parent 7d3ab11e3a
commit b49090c1b8
2 changed files with 1 additions and 8 deletions

View File

@ -1,5 +1,5 @@
{{ "<!-- NAVIGATION -->" | safeHTML }} {{ "<!-- NAVIGATION -->" | safeHTML }}
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top"> <nav id="mainNav" class="navbar navbar-default navbar-fixed-top affix">
<div class="container-fluid"> <div class="container-fluid">
{{ "<!-- Brand and toggle get grouped for better mobile display -->" | safeHTML }} {{ "<!-- Brand and toggle get grouped for better mobile display -->" | safeHTML }}
<div class="navbar-header"> <div class="navbar-header">

View File

@ -35,13 +35,6 @@
} }
); );
// Offset for Main Navigation
$('#mainNav').affix({
offset: {
top: 100
}
})
// Initialize WOW.js Scrolling Animations // Initialize WOW.js Scrolling Animations
new WOW().init(); new WOW().init();