diff --git a/js/methods.js b/js/methods.js index 9db123d..69c331c 100644 --- a/js/methods.js +++ b/js/methods.js @@ -323,7 +323,7 @@ function displayOptionDescription() { for (const option in options_description) { if (options_description.hasOwnProperty(option)) { const description = options_description[option]; - const node = document.getElementById(option).parentElement.parentElement; + const node = document.getElementById(option).parentElement.parentElement.previousElementSibling; node.setAttribute('uk-tooltip', description); UIkit.tooltip(node); }