@@ -469,7 +469,7 @@ function(SERVICES, COMPONENTS, DEMOS, PAGES, $location, $rootScope, $http, $wind
469469 if ( section . children ) {
470470 // matches nested section toggles, such as API or Customization
471471 section . children . forEach ( function ( childSection ) {
472- if ( childSection . pages ) {
472+ if ( childSection . pages ) {
473473 childSection . pages . forEach ( function ( page ) {
474474 matchPage ( childSection , page ) ;
475475 } ) ;
@@ -575,7 +575,7 @@ function(SERVICES, COMPONENTS, DEMOS, PAGES, $location, $rootScope, $http, $wind
575575 } ) ;
576576
577577 var parentNode = $element [ 0 ] . parentNode . parentNode . parentNode ;
578- if ( parentNode . classList . contains ( 'parent-list-item' ) ) {
578+ if ( parentNode . classList . contains ( 'parent-list-item' ) ) {
579579 var heading = parentNode . querySelector ( 'h2' ) ;
580580 $element [ 0 ] . firstChild . setAttribute ( 'aria-describedby' , heading . id ) ;
581581 }
@@ -689,12 +689,12 @@ function($scope, COMPONENTS, BUILDCONFIG, $mdSidenav, $timeout, $mdDialog, menu,
689689 function isSectionSelected ( section ) {
690690 var selected = false ;
691691 var openedSection = menu . openedSection ;
692- if ( openedSection === section ) {
692+ if ( openedSection === section ) {
693693 selected = true ;
694694 }
695- else if ( section . children ) {
695+ else if ( section . children ) {
696696 section . children . forEach ( function ( childSection ) {
697- if ( childSection === openedSection ) {
697+ if ( childSection === openedSection ) {
698698 selected = true ;
699699 }
700700 } ) ;
0 commit comments