Tooltips: Add possibility to define theme through meta-data

This commit is contained in:
Molkobain
2021-10-24 11:12:07 +02:00
parent d5af6e9061
commit 63448276cc

View File

@@ -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