nodebb-theme-harmony
Advanced tools
Comparing version 2.0.0-pre.37 to 2.0.0-pre.38
{ | ||
"name": "nodebb-theme-harmony", | ||
"version": "2.0.0-pre.37", | ||
"version": "2.0.0-pre.38", | ||
"nbbpm": { | ||
@@ -5,0 +5,0 @@ "compatibility": "^3.7.0" |
@@ -75,3 +75,3 @@ 'use strict'; | ||
let lastScrollTop = 0; | ||
let lastScrollTop = $window.scrollTop(); | ||
let newPostsLoaded = false; | ||
@@ -90,3 +90,3 @@ | ||
const scrolledUp = st < lastScrollTop; | ||
if (diff > 5) { | ||
if (diff > 10) { | ||
bottomBar.css({ | ||
@@ -120,4 +120,6 @@ bottom: !scrolledUp && scrolledDown ? | ||
$window.off('scroll', delayedScroll); | ||
bottomBar.css({ bottom: 0 }); | ||
setTimeout(enableAutohide, 250); | ||
if (config.theme.autohideBottombar) { | ||
bottomBar.css({ bottom: 0 }); | ||
setTimeout(enableAutohide, 250); | ||
} | ||
}); | ||
@@ -124,0 +126,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1340205
169
521