Explorar o código

make sure layout looks fine, even when using outdated links

gero3 %!s(int64=6) %!d(string=hai) anos
pai
achega
40acdcddab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ) );
 			loadFile( window.location.hash.substring( 1 ) );
 
 

粤ICP备19079148号