Skip to content

Commit d0dff29

Browse files
authored
Merge pull request #230 from AdelSkiDzNew/refactor/HTMLDucument-deprecated
refactor: use Document instead of HTMLDocument [@angular/@common]
2 parents f5cace1 + dde0905 commit d0dff29

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/app/views/theme/colors.component.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { getStyle, rgbToHex } from '@coreui/utils/src';
99
export class ColorsComponent implements OnInit, AfterViewInit {
1010

1111
constructor(
12-
@Inject(DOCUMENT) private document: HTMLDocument,
12+
@Inject(DOCUMENT) private document: Document,
1313
private renderer: Renderer2
1414
) {
1515
}
@@ -39,9 +39,7 @@ export class ColorsComponent implements OnInit, AfterViewInit {
3939
);
4040
}
4141

42-
ngOnInit(): void {
43-
// this.themeColors();
44-
}
42+
ngOnInit(): void {}
4543

4644
ngAfterViewInit(): void {
4745
this.themeColors();

0 commit comments

Comments
 (0)