don't open tooltip in tooltip

This commit is contained in:
Vincent Fretin 2013-03-12 19:37:40 +01:00
parent 59173948dd
commit 497ef0a54a
2 changed files with 6 additions and 1 deletions

View File

@ -5,7 +5,8 @@ Changelog
1.0 (unreleased)
----------------
- Nothing changed yet.
- Don't open tooltip in tooltip.
[vincentfretin]
0.12 (2013-03-12)

View File

@ -73,6 +73,10 @@ $(document).ready(function() {
});
$(document).delegate('.link-tooltip', 'mouseenter', function() {
var trigger = $(this);
// don't open tooltip in tooltip
if (trigger.closest('.tooltip').length) {
return;
}
if (!trigger.data('tooltip')) {
if (pendingCall.procID) {
clearTimeout(pendingCall.procID);