File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -382,8 +382,8 @@ export class MdSidenavContainer implements AfterContentInit {
382382 */
383383 private _watchSidenavToggle ( sidenav : MdSidenav ) : void {
384384 if ( ! sidenav || sidenav . mode === 'side' ) { return ; }
385- sidenav . onOpen . subscribe ( ( ) => this . _setContainerClass ( sidenav , true ) ) ;
386- sidenav . onClose . subscribe ( ( ) => this . _setContainerClass ( sidenav , false ) ) ;
385+ sidenav . onOpen . subscribe ( ( ) => this . _setContainerClass ( true ) ) ;
386+ sidenav . onClose . subscribe ( ( ) => this . _setContainerClass ( false ) ) ;
387387 }
388388
389389 /**
@@ -401,7 +401,7 @@ export class MdSidenavContainer implements AfterContentInit {
401401 }
402402
403403 /** Toggles the 'mat-sidenav-opened' class on the main 'md-sidenav-container' element. */
404- private _setContainerClass ( sidenav : MdSidenav , isAdd : boolean ) : void {
404+ private _setContainerClass ( isAdd : boolean ) : void {
405405 if ( isAdd ) {
406406 this . _renderer . addClass ( this . _element . nativeElement , 'mat-sidenav-opened' ) ;
407407 } else {
You can’t perform that action at this time.
0 commit comments