浏览代码

restored assigning focus

Jaume Sanchez 9 年之前
父节点
当前提交
623388ed35
共有 1 个文件被更改,包括 1 次插入0 次删除
  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' );