Commit 7a954512 by Torkel Ödegaard

Fixed graph tooltip lingering when changing dashboard using keyboard, Fixes #1700

parent 538ec7c0
define([ define([
'angular', 'angular',
'lodash' 'lodash',
'jquery'
], ],
function (angular, _) { function (angular, _, $) {
'use strict'; 'use strict';
angular angular
...@@ -13,6 +14,11 @@ function (angular, _) { ...@@ -13,6 +14,11 @@ function (angular, _) {
var lastHideControlsVal; var lastHideControlsVal;
// tooltip removal fix
$scope.$on("$routeChangeSuccess", function() {
$("#tooltip").remove();
});
$scope.$watch('submenuEnabled', function() { $scope.$watch('submenuEnabled', function() {
if (!$scope.dashboard) { if (!$scope.dashboard) {
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment