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

Merge pull request #14273 from sgonyea/master

Fix hover-popover/tooltip flickering when mouse re-enters
This commit is contained in:
Jacob
2014-09-07 10:36:45 -07:00
2 changed files with 66 additions and 0 deletions

View File

@@ -105,6 +105,11 @@
var self = obj instanceof this.constructor ?
obj : $(obj.currentTarget).data('bs.' + this.type)
if (self && self.$tip && self.$tip.is(':visible')) {
self.hoverState = 'in'
return
}
if (!self) {
self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
$(obj.currentTarget).data('bs.' + this.type, self)