« get me outta code hell

client: hoverable-tooltip: more z-index bullshit - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/js/client/hoverable-tooltip.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-03-31 18:04:51 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-04-10 16:02:37 -0300
commitf231fdc12e6802471b23faaac05cba7604fe96a3 (patch)
tree14c23b254a5b9df10ee1ff2991229ad9a0a57ab9 /src/static/js/client/hoverable-tooltip.js
parent1c74003d9354ac745f694e53edfe307bf9d83595 (diff)
client: hoverable-tooltip: more z-index bullshit
Diffstat (limited to 'src/static/js/client/hoverable-tooltip.js')
-rw-r--r--src/static/js/client/hoverable-tooltip.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/static/js/client/hoverable-tooltip.js b/src/static/js/client/hoverable-tooltip.js
index 395bb51a..6eb706ef 100644
--- a/src/static/js/client/hoverable-tooltip.js
+++ b/src/static/js/client/hoverable-tooltip.js
@@ -1006,6 +1006,14 @@ export function getTooltipBaselineOpportunityAreas(tooltip) {
   return results;
 }
 
+export function mutatePageContent() {
+  for (const isolatorRoot of document.querySelectorAll('.isolate-tooltip-z-indexing')) {
+    if (isolatorRoot.firstElementChild) {
+      cssProp(isolatorRoot.firstElementChild, 'z-index', '1');
+    }
+  }
+}
+
 export function addPageListeners() {
   const {state} = info;