From 37e28207f0afbe1d7318fe0f130500692d7f4014 Mon Sep 17 00:00:00 2001 From: Maxime Moraine Date: Sat, 13 Mar 2021 16:36:49 +0100 Subject: [PATCH] correction bug tooltips --- docs/.vuepress/theme/util/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/.vuepress/theme/util/index.js b/docs/.vuepress/theme/util/index.js index 5d7b172..0a5cdfa 100644 --- a/docs/.vuepress/theme/util/index.js +++ b/docs/.vuepress/theme/util/index.js @@ -378,6 +378,10 @@ export function handleTooltips (params = {}) { tooltip.style.display = 'none' tooltipTitle.classList.remove('tooltip-spell') }, false); + l.addEventListener("click", function( event ) { + tooltip.style.display = 'none' + tooltipTitle.classList.remove('tooltip-spell') + }, false); } } }