From 6ad78cc54780204290a5eadc9cbe15ad2b9243f3 Mon Sep 17 00:00:00 2001 From: KatieFrogs <23621460+KatieFrogs@users.noreply.github.com> Date: Tue, 22 Feb 2022 19:52:42 +0300 Subject: [PATCH] Expand the plugin tooltip area --- public/src/js/settings.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/src/js/settings.js b/public/src/js/settings.js index 38fa10a..dc6e5b9 100644 --- a/public/src/js/settings.js +++ b/public/src/js/settings.js @@ -265,7 +265,7 @@ class SettingsView{ } this.setAltText(nameDiv, name) if(current.description || current.description_lang){ - nameDiv.title = this.getLocalTitle(current.description, current.description_lang) || "" + settingBox.title = this.getLocalTitle(current.description, current.description_lang) || "" } settingBox.appendChild(nameDiv) var valueDiv = document.createElement("div") @@ -290,6 +290,7 @@ class SettingsView{ valueDiv.appendChild(outputObject.valueText) var buttons = document.createElement("div") buttons.classList.add("latency-buttons") + buttons.title = "" var buttonMinus = document.createElement("span") buttonMinus.innerText = "-" buttons.appendChild(buttonMinus) @@ -1027,7 +1028,7 @@ class SettingsView{ } this.setAltText(item.nameDiv, name) if(item.description || item.description_lang){ - item.nameDiv.title = this.getLocalTitle(item.description, item.description_lang) || "" + item.settingBox.title = this.getLocalTitle(item.description, item.description_lang) || "" } this.getValue(item.id, item.valueDiv) }