keyboard access + direct link scrolling

This commit is contained in:
Jana Deutschländer 2017-05-02 16:29:02 +02:00
commit 7d802b57a2
15 changed files with 167 additions and 14 deletions

View file

@ -1,5 +1,9 @@
/**
* Sets up the sidebar behaviour
*
* @author Andreas Gohr <gohr@cosmocode.de>
* @author Michael Große <gohr@cosmocode.de>
* @author Jana Deutschlaender <deutschlaender@cosmocode.de>
*/
jQuery(function () {
var $nav = jQuery('#dokuwiki__aside');
@ -266,7 +270,7 @@ jQuery(function () {
setActive(stModes,$siteTools);
setActive(utModes,$userTools);
if(jQuery('body').is('.wide-content')) {
if($body.is('.wide-content')) {
window.sessionStorage.setItem('wide-content', true);
isWideContent = true;
}