Selaa lähdekoodia

Update index.html

Revert usage of `scrollIntoView()` since it breaks mobile usage.
Michael Herzog 1 vuosi sitten
vanhempi
sitoutus
ca42d005ce
1 muutettua tiedostoa jossa 0 lisäystä ja 2 poistoa
  1. 0 2
      examples/index.html

+ 0 - 2
examples/index.html

@@ -114,8 +114,6 @@
 
 				if ( validRedirects.has( file ) === true ) {
 
-					content.querySelector( `a[href="${ file }.html"]` ).scrollIntoView();
-
 					selectFile( file );
 					viewer.src = validRedirects.get( file );
 					viewer.style.display = 'unset';

粤ICP备19079148号