mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 22:48:45 +02:00
N°2847 - Tooltip: Improve mechanism to instantiate them only once
This commit is contained in:
@@ -70,7 +70,7 @@ const CombodoBackofficeToolbox = {
|
||||
// Processing
|
||||
$(document).ready(function(){
|
||||
// Enable tooltips based on existing HTML markup, won't work on markup added dynamically after DOM ready (AJAX, ...)
|
||||
$('[data-tooltip-content]').each(function(){
|
||||
$('[data-tooltip-content]:not([data-tooltip-instanciated="true"])').each(function(){
|
||||
CombodoGlobalToolbox.InitTooltipFromMarkup($(this));
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user