Commit 8540515e authored by Mark Otto's avatar Mark Otto
Browse files

Merge branch '3.0.0-wip' of github.com:twitter/bootstrap into 3.0.0-wip

parents 18157e9f 3cfa1c8a
Showing with 9 additions and 9 deletions
+9 -9
......@@ -1140,10 +1140,10 @@
if (!self.options.delay || !self.options.delay.show) return self.show()
clearTimeout(this.timeout)
clearTimeout(self.timeout)
self.hoverState = 'in'
this.timeout = setTimeout(function () {
self.timeout = setTimeout(function () {
if (self.hoverState == 'in') self.show()
}, self.options.delay.show)
}
......@@ -1152,12 +1152,12 @@
var self = obj instanceof this.constructor ?
obj : $(obj.currentTarget)[this.type](this._options).data('bs.' + this.type)
clearTimeout(this.timeout)
clearTimeout(self.timeout)
if (!self.options.delay || !self.options.delay.hide) return self.hide()
self.hoverState = 'out'
this.timeout = setTimeout(function () {
self.timeout = setTimeout(function () {
if (self.hoverState == 'out') self.hide()
}, self.options.delay.hide)
}
......
This diff is collapsed.
......@@ -104,10 +104,10 @@
if (!self.options.delay || !self.options.delay.show) return self.show()
clearTimeout(this.timeout)
clearTimeout(self.timeout)
self.hoverState = 'in'
this.timeout = setTimeout(function () {
self.timeout = setTimeout(function () {
if (self.hoverState == 'in') self.show()
}, self.options.delay.show)
}
......@@ -116,12 +116,12 @@
var self = obj instanceof this.constructor ?
obj : $(obj.currentTarget)[this.type](this._options).data('bs.' + this.type)
clearTimeout(this.timeout)
clearTimeout(self.timeout)
if (!self.options.delay || !self.options.delay.hide) return self.hide()
self.hoverState = 'out'
this.timeout = setTimeout(function () {
self.timeout = setTimeout(function () {
if (self.hoverState == 'out') self.hide()
}, self.options.delay.hide)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment