remove navbar style change when scrolling down. Improves #39
parent
7d3ab11e3a
commit
b49090c1b8
|
@ -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">
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue