mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
refactor(): minor change
This commit is contained in:
@@ -158,6 +158,11 @@ export function grafanaAppDirective() {
|
||||
}
|
||||
});
|
||||
|
||||
// tooltip removal fix
|
||||
scope.$on("$routeChangeSuccess", function() {
|
||||
$("#tooltip, .tooltip").remove();
|
||||
});
|
||||
|
||||
// handle document clicks that should hide things
|
||||
elem.click(function(evt) {
|
||||
if ($(evt.target).parents().length === 0) {
|
||||
|
Reference in New Issue
Block a user