Updated to lock the navbar on changeMode
This commit is contained in:
2
public/vendor/showup/showup.js
vendored
2
public/vendor/showup/showup.js
vendored
@@ -36,7 +36,7 @@
|
||||
target.clearQueue();
|
||||
target.stop();
|
||||
var currentScroll = $(this).scrollTop();
|
||||
if (currentScroll > hideOffset) {
|
||||
if (currentScroll > hideOffset && !target.hasClass('locked')) {
|
||||
if(Math.abs(previousScroll - currentScroll) < 50) return;
|
||||
if (currentScroll > previousScroll) {
|
||||
// Action on scroll down
|
||||
|
||||
Reference in New Issue
Block a user