Tooltip detatch too soon on mobile click (#5598)

* Tooltip detatch too soon on mobile click

* Fixed syntax error
This commit is contained in:
Loren West
2016-07-18 09:04:06 +02:00
committed by Torkel Ödegaard
parent 2c77f2231e
commit 51940fa209
@@ -538,7 +538,9 @@ class SingleStatCtrl extends MetricsPanelCtrl {
elem.mouseleave(function() {
if (panel.links.length === 0) { return;}
drilldownTooltip.detach();
$timeout(function() {
drilldownTooltip.detach();
});
});
elem.click(function(evt) {