mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 21:02:28 +00:00
Fix video modal default visibility
This commit is contained in:
1 parent
5ad74a26bf
commit
ac16fb716b
3 files changed
+13
-1
No files matched your search
@@ -376,6 +376,13 @@ export class VideoModal {
|
||||
this.setCopyEnabled(false);
|
||||
this.setShareEnabled(false);
|
||||
this.resetStats();
|
||||
|
||||
if (!this.activeVideo && this.playerModal) {
|
||||
this.playerModal.classList.add("hidden");
|
||||
this.playerModal.setAttribute("hidden", "");
|
||||
this.document?.body?.classList?.remove("modal-open");
|
||||
this.document?.documentElement?.classList?.remove("modal-open");
|
||||
}
|
||||
}
|
||||
|
||||
bindVideoEvents() {
|
||||
|
||||
Reference in new issue
Block a user