mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Tooltips: Add possibility to define theme through meta-data
This commit is contained in:
@@ -868,6 +868,8 @@ const CombodoTooltip = {
|
||||
(typeof sHideDelay === 'undefined') ? null : parseInt(sHideDelay),
|
||||
];
|
||||
|
||||
oOptions['theme'] = oElem.attr('data-tooltip-theme') ?? '';
|
||||
|
||||
tippy(oElem[0], oOptions);
|
||||
|
||||
// Mark tooltip as instantiated
|
||||
|
||||
Reference in New Issue
Block a user