Permalink
Browse files

Merge pull request #16 from lachie/master

Don't hide if the tooltip isn't ready.
  • Loading branch information...
2 parents 075fa07 + f7d9c7f commit 9e87162afedc4ea6166c60f4d4861715f9c4ff63 Brian Cray committed Oct 29, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 tooltipsy.source.js
View
@@ -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]) {

0 comments on commit 9e87162

Please sign in to comment.