Skip to content

Commit

Permalink
chore(docs): unused function fix
Browse files Browse the repository at this point in the history
  • Loading branch information
g-cheishvili committed May 14, 2022
1 parent 1c6a37b commit 177aa42
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,7 @@ export class ToolbarDocsComponent implements OnInit, OnDestroy {
} else if (isDark(safeUrl)) {
theme = 'tomorrow-night.css';
}
this.highlightJsThemeCss = this._domSanitizer.bypassSecurityTrustResourceUrl(
`assets/highlight-js-styles/${theme}`
);
this.highlightJsThemeCss = this.trustedResourceUrl(`assets/highlight-js-styles/${theme}`);
}

selectVersion(version: any): void {
Expand Down

0 comments on commit 177aa42

Please sign in to comment.