Fix lint
This commit is contained in:
parent
358f2634ad
commit
95db4e4b09
@ -23,6 +23,8 @@ export * from "./controllers.js";
|
||||
});
|
||||
|
||||
addEventListener("turbo:visit", () => {
|
||||
/* eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any */
|
||||
(window as any).Turbo.navigator.currentVisit.scrolled = true;
|
||||
document.documentElement.scrollTop = scrollTop;
|
||||
});
|
||||
})();
|
||||
|
Loading…
x
Reference in New Issue
Block a user