mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-09 22:32:53 +00:00
Refactor zap popovers and more menus
This commit is contained in:
1 parent
fe006a59b0
commit
badcfc6944
9 files changed
+282
-176
No files matched your search
@@ -1001,7 +1001,9 @@ export class VideoListView {
|
||||
const menus = this.document.querySelectorAll("[data-more-menu]");
|
||||
menus.forEach((menu) => {
|
||||
if (menu instanceof HTMLElement) {
|
||||
menu.classList.add("hidden");
|
||||
menu.dataset.state = "closed";
|
||||
menu.setAttribute("aria-hidden", "true");
|
||||
menu.hidden = true;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user