Skip to content

Commit 7bdcca2

Browse files
committed
chore(backdrop.sevice): cleanup
1 parent da5f2b6 commit 7bdcca2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

projects/coreui-angular/src/lib/backdrop/backdrop.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export class BackdropService {
2020
get #scrollbarWidth() {
2121
// https://developer.mozilla.org/en-US/docs/Web/API/Window/innerWidth#usage_notes
2222
const documentWidth = this.#document.documentElement.clientWidth;
23-
// const scrollbarWidth = Math.abs((window?.innerWidth ?? documentWidth) - documentWidth);
2423
const scrollbarWidth = Math.abs((this.#document.defaultView?.innerWidth ?? documentWidth) - documentWidth);
2524
return `${scrollbarWidth}px`;
2625
}

0 commit comments

Comments
 (0)