Procházet zdrojové kódy

restored assigning focus

Jaume Sanchez před 9 roky
rodič
revize
623388ed35
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      examples/index.html

+ 1 - 0
examples/index.html

@@ -341,6 +341,7 @@
 			links[ file ].className = 'link selected';
 
 			window.location.hash = file;
+			viewer.focus();
 
 			button.style.display = '';
 			panel.classList.toggle( 'collapsed' );