2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03: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
+5
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)