2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

fixes #8399 w/ tests

This commit is contained in:
Jacob Thornton
2013-07-24 20:10:16 -07:00
parent 930c75e5dd
commit eaefed517a
5 changed files with 52 additions and 7 deletions
+2 -2
View File
@@ -102,10 +102,10 @@
var self = obj instanceof this.constructor ?
obj : $(obj.currentTarget)[this.type](options).data('bs.' + this.type)
if (!self.options.delay || !self.options.delay.show) return self.show()
clearTimeout(self.timeout)
if (!self.options.delay || !self.options.delay.show) return self.show()
self.hoverState = 'in'
self.timeout = setTimeout(function () {
if (self.hoverState == 'in') self.show()