Explorar el Código

restored assigning focus

Jaume Sanchez hace 9 años
padre
commit
623388ed35
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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' );