1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-25 21:09:06 +02:00

rebuild and fix test

This commit is contained in:
Jacob Thornton
2012-05-31 10:24:23 -07:00
parent bcd5097c02
commit 4eaeea81fd
5 changed files with 15 additions and 14 deletions

View File

@@ -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);
}(window.jQuery);