tweak keepAlive for better user experience
keepAlive will now close when leaving target element or tooltip box
This commit is contained in:
parent
eea062f9fa
commit
030c90e069
|
@ -66,7 +66,7 @@
|
|||
org_elem.hover(function(){
|
||||
active_tiptip();
|
||||
}, function(){
|
||||
if(!opts.keepAlive){
|
||||
if(!opts.keepAlive || !tiptip_holder.is(':hover')){
|
||||
deactive_tiptip();
|
||||
}
|
||||
});
|
||||
|
@ -188,4 +188,4 @@
|
|||
}
|
||||
});
|
||||
}
|
||||
})(jQuery);
|
||||
})(jQuery);
|
||||
|
|
Loading…
Reference in New Issue