From 4eaeea81fd909e6711f57049fc4372f4045fa5aa Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Thu, 31 May 2012 10:24:23 -0700 Subject: rebuild and fix test --- docs/assets/js/bootstrap-tooltip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/assets/js/bootstrap-tooltip.js') diff --git a/docs/assets/js/bootstrap-tooltip.js b/docs/assets/js/bootstrap-tooltip.js index 577ead48b..6ff2b4708 100644 --- a/docs/assets/js/bootstrap-tooltip.js +++ b/docs/assets/js/bootstrap-tooltip.js @@ -84,9 +84,9 @@ , leave: function (e) { var self = $(e.currentTarget)[this.type](this._options).data(this.type) + if (this.timeout) clearTimeout(this.timeout) if (!self.options.delay || !self.options.delay.hide) return self.hide() - clearTimeout(this.timeout) self.hoverState = 'out' this.timeout = setTimeout(function() { if (self.hoverState == 'out') self.hide() @@ -272,4 +272,4 @@ , delay: 0 } -}(window.jQuery); \ No newline at end of file +}(window.jQuery); -- cgit v1.2.3