nodebb-theme-harmony
Advanced tools
Comparing version 1.2.71 to 1.2.72
{ | ||
"name": "nodebb-theme-harmony", | ||
"version": "1.2.71", | ||
"version": "1.2.72", | ||
"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 @@ }); |
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
1335779
528