Changes

4 bytes removed ,  21:43, 15 November 2022
m
Correction correction
Line 963: Line 963:  
  document.addEventListener("scroll", function () {
 
  document.addEventListener("scroll", function () {
 
     window.scrollTo(40, 215);   
 
     window.scrollTo(40, 215);   
  }, 50);
+
  });
    
This automatically resets the position if the user accidentally scrolls the page. Zooming should probably also be disabled by adding <code>user-scalable=no</code> to the <meta> viewport element.
 
This automatically resets the position if the user accidentally scrolls the page. Zooming should probably also be disabled by adding <code>user-scalable=no</code> to the <meta> viewport element.
26

edits