Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 867852a

Browse filesBrowse files
committed
refactor(backdrop): minor cleanups
1 parent 5a2592e commit 867852a
Copy full SHA for 867852a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: projects/coreui-angular/src/lib/backdrop/backdrop.service.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ export class BackdropService {
4747
this.#unListen();
4848
this.#renderer.removeClass(backdropElement, 'show');
4949
setTimeout(() => {
50-
this.#renderer.removeChild(this.#document.body, backdropElement);
5150
if (this.activeBackdrop === backdropElement) {
5251
this.resetScrollbar();
5352
}
53+
this.#renderer.removeChild(this.#document.body, backdropElement);
5454
backdropElement = undefined;
5555
}, 300);
5656
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.