Procházet zdrojové kódy

make sure layout looks fine, even when using outdated links

gero3 před 6 roky
rodič
revize
40acdcddab
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      examples/index.html

+ 1 - 1
examples/index.html

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

粤ICP备19079148号