From 80fa4ec71f542f3fd801da482543c747ae4f5562 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Mon, 8 Aug 2022 16:30:46 +0200 Subject: [PATCH] Code format --- js/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/utils.js b/js/utils.js index c8c2d6ac5..633245606 100644 --- a/js/utils.js +++ b/js/utils.js @@ -820,9 +820,9 @@ const CombodoTooltip = { // 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 - // Defaults to true if it contains hyperlink + // Note: Defaults to true if it contains hyperlink let bDefaultInteractive = (bEnableHTML && sContent.indexOf(" -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; // Element to append the tooltip to