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