mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Code format
This commit is contained in:
@@ -820,9 +820,9 @@ const CombodoTooltip = {
|
|||||||
|
|
||||||
// Interaction (selection, click, ...) have to be enabled manually
|
// Interaction (selection, click, ...) have to be enabled manually
|
||||||
// Important: When set to true, if "data-tooltip-append-to" is not specified, tooltip will be appended to the parent element instead of the body
|
// Important: When set to true, if "data-tooltip-append-to" is not specified, tooltip will be appended to the parent element instead of the body
|
||||||
// Defaults to true if it contains hyperlink
|
// Note: Defaults to true if it contains hyperlink
|
||||||
let bDefaultInteractive = (bEnableHTML && sContent.indexOf("<a ") > -1)
|
let bDefaultInteractive = (bEnableHTML && sContent.indexOf("<a ") > -1)
|
||||||
const bInteractive = oElem.attr('data-tooltip-interaction-enabled') !== undefined ? oElem.attr('data-tooltip-interaction-enabled') === 'true' : bDefaultInteractive;
|
const bInteractive = oElem.attr('data-tooltip-interaction-enabled') !== undefined ? oElem.attr('data-tooltip-interaction-enabled') === 'true' : bDefaultInteractive;
|
||||||
oOptions['interactive'] = bInteractive;
|
oOptions['interactive'] = bInteractive;
|
||||||
|
|
||||||
// Element to append the tooltip to
|
// Element to append the tooltip to
|
||||||
|
|||||||
Reference in New Issue
Block a user