mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 10:03:28 +07:00
Moved tooltips to a better place.
This commit is contained in:
parent
38cdabfa69
commit
50bc53290e
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user