mirror of
https://github.com/thewesker/startbootstrap-clean-blog.git
synced 2025-12-20 04:01:08 -05:00
Merge pull request #17 from Tarabass/gh-pages
IE - Fixed scrolling issue with navbar when scrolling up.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
node_modules
|
||||
*.idea
|
||||
@@ -1021,7 +1021,7 @@ jQuery(document).ready(function($) {
|
||||
} else {
|
||||
$('.navbar-custom').removeClass('is-visible is-fixed');
|
||||
}
|
||||
} else {
|
||||
} else if (currentTop > this.previousTop) {
|
||||
//if scrolling down...
|
||||
$('.navbar-custom').removeClass('is-visible');
|
||||
if (currentTop > headerHeight && !$('.navbar-custom').hasClass('is-fixed')) $('.navbar-custom').addClass('is-fixed');
|
||||
|
||||
2
js/clean-blog.min.js
vendored
2
js/clean-blog.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user