zz 5 vuotta sitten
vanhempi
commit
804028e3de
1 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. 4 2
      resources/views/help/help.blade.php

+ 4 - 2
resources/views/help/help.blade.php

@@ -133,8 +133,10 @@
         },
         mounted() {
             setTimeout(function () {
-                //document.body.scrollTop = document.body.scrollHeight;
-                window.scroll(0, document.body.scrollHeight)
+                if(document.location.search.indexOf('down=1')){
+                    //document.body.scrollTop = document.body.scrollHeight;
+                    window.scroll(0, document.body.scrollHeight)
+                }
             },250)
 
         },