Skip to content

Commit

Permalink
change spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ElviaBth committed May 30, 2024
1 parent 44b7ccb commit 9991010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decidim-core/app/packs/src/decidim/sticky_header.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ window.onscroll = function() {
if (header) {
let currentScroll = window.scrollY;

if (prevScrollpos > currentScroll) {
if (prevScroll > currentScroll) {
mainBar.style.top = 0;
} else {
mainBar.style.top = `-${header.offsetHeight}px`;
Expand Down

0 comments on commit 9991010

Please sign in to comment.