Skip to content

Commit

Permalink
Merge pull request briancray#16 from lachie/master
Browse files Browse the repository at this point in the history
Don't hide if the tooltip isn't ready.
  • Loading branch information
Brian Cray committed Oct 29, 2011
2 parents 075fa07 + f7d9c7f commit 9e87162
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tooltipsy.source.js
Expand Up @@ -126,6 +126,10 @@
$.tooltipsy.prototype.hide = function (e) {
var base = this;

if (base.ready === false) {
return;
}

if (e && e.relatedTarget === base.$tip[0]) {
base.$tip.bind('mouseleave', function (e) {
if (e.relatedTarget === base.$el[0]) {
Expand Down

0 comments on commit 9e87162

Please sign in to comment.