Moved tooltips to a better place.

This commit is contained in:
Quentin Decaunes 2019-06-01 15:58:00 +02:00
parent 38cdabfa69
commit 50bc53290e

View File

@ -323,7 +323,7 @@ function displayOptionDescription() {
for (const option in options_description) { for (const option in options_description) {
if (options_description.hasOwnProperty(option)) { if (options_description.hasOwnProperty(option)) {
const description = options_description[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); node.setAttribute('uk-tooltip', description);
UIkit.tooltip(node); UIkit.tooltip(node);
} }