« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/static/client3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/client3.js b/src/static/client3.js
index 236e98a1..485ae3c3 100644
--- a/src/static/client3.js
+++ b/src/static/client3.js
@@ -1666,7 +1666,7 @@ function getTooltipFromHoverablePlacementOpportunityAreas(hoverable) {
 
       const regionRect = regionRects[i];
       if (regionRect.width > 0) {
-        return regionRect;
+        return rect;
       } else {
         return WikiRect.fromRect({
           x: regionRect.right - tooltipRect.width,