Explorar o código

restored assigning focus

Jaume Sanchez %!s(int64=9) %!d(string=hai) anos
pai
achega
623388ed35
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      examples/index.html

+ 1 - 0
examples/index.html

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