Skip to content

Commit f0e6652

Browse files
chore(unity-bootstrap-theme): linting
1 parent e2ba8fe commit f0e6652

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/unity-bootstrap-theme/src/js/anchor-menu.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@ function initAnchorMenu() {
147147
previousScrollPosition = window.scrollY;
148148
};
149149

150-
window.addEventListener("scroll", () => throttle(scrollHandlerLogic, SCROLL_DELAY), { passive: true });
150+
window.addEventListener(
151+
"scroll",
152+
() => throttle(scrollHandlerLogic, SCROLL_DELAY),
153+
{ passive: true }
154+
);
151155

152156
// Set click event of anchors
153157
for (let [anchor, anchorTarget] of anchorTargets) {

0 commit comments

Comments
 (0)