Skip to content

Commit

Permalink
Revert "Adding attributes "aria-hidden" set to "true" and "tabindex" …
Browse files Browse the repository at this point in the history
…set to "-1" when sidebar is hidden. If visible these attributes are removed. Fix #6758"

This reverts commit c797f51.
  • Loading branch information
vinespie committed May 20, 2015
1 parent c797f51 commit a104968
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions administrator/templates/isis/js/template.js
Expand Up @@ -131,8 +131,6 @@
$main.removeClass('span10').addClass('span12 expanded');
$toggleSidebarIcon.removeClass(openIcon).addClass(closedIcon);
$toggleButton.attr( 'data-original-title', Joomla.JText._('JTOGGLE_SHOW_SIDEBAR') );
$sidebar.find('#submenu li').each(function(){$(this).attr('aria-hidden', true)});
$sidebar.find('#submenu li a').each(function(){$(this).attr('tabindex', '-1')});
if (!isComponent) {
$debug.css( 'width', contentWidthRelative + '%' );
}
Expand All @@ -153,8 +151,7 @@
$main.removeClass('span12 expanded').addClass('span10');
$toggleSidebarIcon.removeClass(closedIcon).addClass(openIcon);
$toggleButton.attr( 'data-original-title', Joomla.JText._('JTOGGLE_HIDE_SIDEBAR') );
$sidebar.find('#submenu li').each(function(){$(this).removeAttr('aria-hidden')});
$sidebar.find('#submenu li a').each(function(){$(this).removeAttr('tabindex')});

if (!isComponent && bodyWidth > 768 && mainHeight < sidebarHeight)
{
$debug.css( 'width', mainWidthRelative + '%' );
Expand Down

0 comments on commit a104968

Please sign in to comment.