From 78ae85a3c65444ce5cc3e8a3c2f7925567c63821 Mon Sep 17 00:00:00 2001 From: Ari Archer Date: Mon, 1 Nov 2021 22:21:06 +0200 Subject: [PATCH] update @ Mon 1 Nov 22:21:06 EET 2021 --- content/js/novpn/index.js | 2 +- content/styles/novpn/index.css | 1 - content/styles/novpn/index.scss | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/content/js/novpn/index.js b/content/js/novpn/index.js index 115c371..6680575 100644 --- a/content/js/novpn/index.js +++ b/content/js/novpn/index.js @@ -9,6 +9,6 @@ function scrollDown() { } function scrollUp() { - window.scrollTo({ top: 0, behavior: 'smooth' }); + document.body.scrollTop = document.documentElement.scrollTop = 0; scroll_element = 0; } diff --git a/content/styles/novpn/index.css b/content/styles/novpn/index.css index 89085eb..324fcf3 100644 --- a/content/styles/novpn/index.css +++ b/content/styles/novpn/index.css @@ -9,7 +9,6 @@ /* for Internet Explorer, Edge */ scrollbar-width: none; /* for Firefox */ - overflow-y: scroll; } ::-webkit-scrollbar { diff --git a/content/styles/novpn/index.scss b/content/styles/novpn/index.scss index cda10c6..e2af14a 100644 --- a/content/styles/novpn/index.scss +++ b/content/styles/novpn/index.scss @@ -9,7 +9,6 @@ scroll-behavior: smooth; -ms-overflow-style: none; /* for Internet Explorer, Edge */ scrollbar-width: none; /* for Firefox */ - overflow-y: scroll; } ::-webkit-scrollbar {