Skip to content

Commit 09f3a27

Browse files
committed
hide all tooltips when step starts
1 parent 6184e54 commit 09f3a27

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

angular-tutorial.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@
423423
var hideTooltips = function()
424424
{
425425
// hide all tooltips
426-
angular.element('.tutorial-tooltip').tooltip('destroy').removeClass('tutorial-tooltip');
426+
angular.element('.tooltip').tooltip('destroy');
427+
angular.element('.tutorial-tooltip').tooltip('destroy');
427428

428429
var step = $scope.currentStep;
429430

0 commit comments

Comments
 (0)