Преглед на файлове

make sure layout looks fine, even when using outdated links

gero3 преди 6 години
родител
ревизия
40acdcddab
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 ) );