diff --git a/src/tooltip/tooltip.js b/src/tooltip/tooltip.js index 984f429a3b..864d861afc 100644 --- a/src/tooltip/tooltip.js +++ b/src/tooltip/tooltip.js @@ -234,6 +234,10 @@ angular.module('ui.bootstrap.tooltip', ['ui.bootstrap.position']) // Hide the tooltip popup element. function hide() { + if (!ttScope) { + return; + } + // First things first: we don't show it anymore. ttScope.isOpen = false; if (isOpenExp) {