Quellcode durchsuchen

Merge pull request #16633 from gero3/patch-10

Examples: Make sure layout looks fine, even when using outdated links
Michael Herzog vor 6 Jahren
Ursprung
Commit
98f8b8837c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      examples/index.html

+ 1 - 1
examples/index.html

@@ -173,7 +173,7 @@
 
 		}
 
-		if ( window.location.hash !== '' ) {
+		if ( window.location.hash !== '' && links[ window.location.hash.substring( 1 ) ] ) {
 
 			loadFile( window.location.hash.substring( 1 ) );