diff --git a/public/script/homeApp.js b/public/script/homeApp.js index d6b4fe9..eca9471 100644 --- a/public/script/homeApp.js +++ b/public/script/homeApp.js @@ -214,6 +214,10 @@ angular getStat(); }) .controller("dashboardController", function($scope, $http, $location) { + $scope.$on('$routeChangeStart', function() { + // remove tooltip + $('[data-toggle="tooltip"]').tooltip('dispose') + }); $scope.$watch("user.status", () => { if ($scope.user == null) { $location.url("/");