Commit 7a954512 by Torkel Ödegaard

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

parent 538ec7c0
define([
'angular',
'lodash'
'lodash',
'jquery'
],
function (angular, _) {
function (angular, _, $) {
'use strict';
angular
......@@ -13,6 +14,11 @@ function (angular, _) {
var lastHideControlsVal;
// tooltip removal fix
$scope.$on("$routeChangeSuccess", function() {
$("#tooltip").remove();
});
$scope.$watch('submenuEnabled', function() {
if (!$scope.dashboard) {
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