File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/app/containers/default-layout Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- import { Component , OnDestroy , Inject } from '@angular/core' ;
1
+ import { Component , OnDestroy , Inject } from '@angular/core' ;
2
2
import { DOCUMENT } from '@angular/common' ;
3
3
import { navItems } from './../../_nav' ;
4
4
@@ -11,7 +11,7 @@ export class DefaultLayoutComponent implements OnDestroy {
11
11
public navItems = navItems ;
12
12
public sidebarMinimized = true ;
13
13
private changes : MutationObserver ;
14
- public element : HTMLElement ;
14
+ public element : HTMLElement ;
15
15
constructor ( @Inject ( DOCUMENT ) _document ?: any ) {
16
16
17
17
this . changes = new MutationObserver ( ( mutations ) => {
@@ -20,7 +20,7 @@ export class DefaultLayoutComponent implements OnDestroy {
20
20
21
21
this . changes . observe ( < Element > this . element , {
22
22
attributes : true ,
23
- attributeFilter : [ 'class' ]
23
+ attributeFilter : [ 'class' ]
24
24
} ) ;
25
25
26
26
this . element = _document . body ;
You can’t perform that action at this time.
0 commit comments