diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-01-23 21:07:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-23 21:07:45 -0500 |
commit | 9fbdb9757b22c2bb9afe5061137bfe4b3b755e91 (patch) | |
tree | b7d3e9111b621ca2bf81f0c8023a433b64e9f055 /ext/bg/js/settings/anki-controller.js | |
parent | 85c039850c45246e367e194232e5ace8771f14e7 (diff) |
Update popup menu structure (#1301)
* Wrap menu items in popup-menu-body
* Use bodyNode instead of node
* Update selector
* Update _setPosition to not use items
Diffstat (limited to 'ext/bg/js/settings/anki-controller.js')
-rw-r--r-- | ext/bg/js/settings/anki-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/settings/anki-controller.js b/ext/bg/js/settings/anki-controller.js index b816a47b..c2292bc9 100644 --- a/ext/bg/js/settings/anki-controller.js +++ b/ext/bg/js/settings/anki-controller.js @@ -240,7 +240,7 @@ class AnkiController { } markers = [...new Set(markers)]; - const container = element.content.querySelector('.popup-menu'); + const container = element.content.querySelector('.popup-menu-body'); if (container === null) { return; } const fragment = document.createDocumentFragment(); |