Skip to content

Commit

Permalink
5738 disable subnav collapse javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrgay committed Dec 12, 2016
1 parent aef4086 commit cd797c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jscripts/ATutor_js.php
Expand Up @@ -304,7 +304,7 @@
** Switch between hide and show submenu
*****/
// Get initial subnavbar toggle state
var initialSubNav = ($.cookie('showSubNav') === "expanded") ? "expanded" : "collapsed";
/* var initialSubNav = ($.cookie('showSubNav') === "expanded") ? "expanded" : "collapsed";
if(initialSubNav === 'collapsed'){
$('#showsubnav').css('display', 'none');
$('#hidesubnav').css('display', 'inline');
Expand Down Expand Up @@ -355,7 +355,7 @@
}
}
});

*/

// Inject aria-live update when sidebar opened/closed for screen readers
$("#menutoggle").click(function() {
Expand Down

0 comments on commit cd797c1

Please sign in to comment.