We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f93412 commit 421fad7Copy full SHA for 421fad7
1 file changed
src/app.js
@@ -712,8 +712,9 @@ function* traverse_menu(menu_items, menu_element) {
712
}
713
714
715
-const extras_menu_button = document.querySelector(`.extras-menu-button`);
716
-const extras_menu_popup = document.getElementById(extras_menu_button.getAttribute("aria-controls"));
+const menu_document = menu_bar.element.ownerDocument;
+const extras_menu_button = menu_document.querySelector(`.extras-menu-button`);
717
+const extras_menu_popup = menu_document.getElementById(extras_menu_button.getAttribute("aria-controls"));
718
719
let emoji_css = `
720
.menu-item .menu-item-label::before {
0 commit comments