From 33cdec2fd4c124e181356be81a756aa6824c4ec2 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Thu, 24 Sep 2015 13:55:02 +0800 Subject: Updated to lock the navbar on changeMode --- public/vendor/showup/showup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/vendor/showup') 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 -- cgit v1.2.3