Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #16 from lachie/master

Don't hide if the tooltip isn't ready.
  • Loading branch information...
commit 9e87162afedc4ea6166c60f4d4861715f9c4ff63 2 parents 075fa07 + f7d9c7f
@briancray authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 tooltipsy.source.js
View
4 tooltipsy.source.js
@@ -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]) {
Please sign in to comment.
Something went wrong with that request. Please try again.