We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2ba8fe commit f0e6652Copy full SHA for f0e6652
packages/unity-bootstrap-theme/src/js/anchor-menu.js
@@ -147,7 +147,11 @@ function initAnchorMenu() {
147
previousScrollPosition = window.scrollY;
148
};
149
150
- window.addEventListener("scroll", () => throttle(scrollHandlerLogic, SCROLL_DELAY), { passive: true });
+ window.addEventListener(
151
+ "scroll",
152
+ () => throttle(scrollHandlerLogic, SCROLL_DELAY),
153
+ { passive: true }
154
+ );
155
156
// Set click event of anchors
157
for (let [anchor, anchorTarget] of anchorTargets) {
0 commit comments