1 set the delay, more than the delay is not moved into the pop-up window, pop-up window hidden
Tooltip.prototype.init = function{in the
var triggers = This.options.trigger.split (") is added after
Set Delay if (this.options.trigger.indexOf (' hover ') >-1) {$.extend (True, this.options, {delay: {hide:100}});}
2 control does not disappear code
In Tooltip.prototype.enter = function (obj) {The
Cleartimeout (Self.timeout) after joining
if (self.options.trigger.indexOf (' hover ') >-1) {self . $tip. Unbind (' MouseEnter '). Bind (' MouseEnter ', function (e) {self . $tip. Data (' data-element ', self. $element);//PopOver box can get ID cleartimeout (self.timeout) when the click event is triggered; Self.hoverstate = ' in '; }). Unbind (' MouseLeave '). Bind (' MouseLeave ', function (e) { self.hoverstate = ' out '; Self.timeout = SetTimeout (function () { if (self.hoverstate = = ' out ') self.hide () }, Self.options.delay.hide) c9/>}) }
Bootstrap version: v3.3.6
How to modify bootstrap PopOver support mouse move to pop-up layer does not hide the popup layer