diff --git a/index.html b/index.html index 1d7612e..59a42e7 100644 --- a/index.html +++ b/index.html @@ -137,7 +137,7 @@

Instagram @michivonah

@@ -402,20 +402,7 @@ }); function scrollToTop(){ - if(navigator.userAgent.includes('iPhone') || navigator.userAgent.includes('iPad') || navigator.userAgent.includes('Mac')){ - window.scroll(0, 0); - } - else{ - var speed = 500; - var time = 15; - var step = (window.scrollY * -1) / (speed / time), - scroll = setInterval(function(){ - if (window.scrollY != 0){ - window.scrollBy(0, step); - } - else clearInterval(scroll); - },time); - } + window.scroll(0, 0); } function scrollDown(){ diff --git a/style.css b/style.css index 67be8e9..2786ed5 100644 --- a/style.css +++ b/style.css @@ -954,7 +954,7 @@ body{ font-style: normal; } - input, textarea{ + input, textarea, button{ outline: none; }