Procházet zdrojové kódy

Bug: Fixed position for drilldown link tooltip when dashboard requires scrolling, Fixes #1093

Torkel Ödegaard před 11 roky
rodič
revize
56321da9c1
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 1 0
      CHANGELOG.md
  2. 1 1
      src/app/panels/singlestat/singleStatPanel.js

+ 1 - 0
CHANGELOG.md

@@ -2,6 +2,7 @@
 
 **Fixes**
 - [Issue #1087](https://github.com/grafana/grafana/issues/1087). Bug: Fixed IE9 crash due to angular drag drop
+- [Issue #1093](https://github.com/grafana/grafana/issues/1093). Bug: Fixed position for drilldown link tooltip when dashboard requires scrolling
 
 # 1.9.0-rc1 (2014-11-17)
 

+ 1 - 1
src/app/panels/singlestat/singleStatPanel.js

@@ -196,7 +196,7 @@ function (angular, app, _, $) {
 
           drilldownTooltip.text('click to go to: ' + panel.links[0].title);
 
-          drilldownTooltip.place_tt(e.clientX+20, e.clientY-15);
+          drilldownTooltip.place_tt(e.pageX+20, e.pageY-15);
         });
       }
     };