From f4b92a97ac0feb49182c3c1985dfb234becec5ff Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Thu, 24 Sep 2020 11:12:54 +0300 Subject: [PATCH] Reset scroll --- src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.js b/src/main.js index eae535009..ff99da4e7 100644 --- a/src/main.js +++ b/src/main.js @@ -89,10 +89,10 @@ import '@fullcalendar/daygrid/main.min.css'; import '@fullcalendar/timegrid/main.min.css'; import './assets/styles/flags.css'; -/*router.beforeEach(function (to, from, next) { +router.beforeEach(function (to, from, next) { window.scrollTo(0, 0); next(); -});*/ +}); const app = createApp(App);