Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

avoid the cannot read isOpen of null bug #4346

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/tooltip/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down