summaryrefslogtreecommitdiff
path: root/public/vendor/showup/showup.js
diff options
context:
space:
mode:
authorWu Cheng-Han2015-09-24 13:55:02 +0800
committerWu Cheng-Han2015-09-24 13:55:02 +0800
commit33cdec2fd4c124e181356be81a756aa6824c4ec2 (patch)
tree2b5e7b93ebcf138ecb0b928e824258698b45ff61 /public/vendor/showup/showup.js
parentc9f35b9aa0782c7e765ca0e71196db11356caed1 (diff)
Updated to lock the navbar on changeMode
Diffstat (limited to '')
-rwxr-xr-xpublic/vendor/showup/showup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/showup/showup.js b/public/vendor/showup/showup.js
index f4f2267e..da987858 100755
--- a/public/vendor/showup/showup.js
+++ b/public/vendor/showup/showup.js
@@ -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