Skip to content

Commit

Permalink
fixed scrolling to top (#1073)
Browse files Browse the repository at this point in the history
Co-authored-by: Taron Chatoyan <[email protected]>
  • Loading branch information
t-chatoyan and Taron Chatoyan authored Mar 19, 2024
1 parent 9faf2d3 commit 0a2740d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
nuxtApp.hook("page:start", () => {
document.querySelector('body').classList.add("loading");
window.scrollTo(0, 0);
});
nuxtApp.hook("page:finish", () => {
Expand Down

0 comments on commit 0a2740d

Please sign in to comment.