Last active
July 30, 2017 19:01
-
-
Save zeshanshani/9cfc464a16e23bde52f618341b6daabf to your computer and use it in GitHub Desktop.
Fixed navbar on scroll by checking the current navbar position and applying the class only when the navbar.offset().top is larger than $window.scrollTop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment