mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-10-22 17:05:49 +02:00
Expand the plugin tooltip area
This commit is contained in:
parent
deddba58ad
commit
6ad78cc547
@ -265,7 +265,7 @@ class SettingsView{
|
|||||||
}
|
}
|
||||||
this.setAltText(nameDiv, name)
|
this.setAltText(nameDiv, name)
|
||||||
if(current.description || current.description_lang){
|
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)
|
settingBox.appendChild(nameDiv)
|
||||||
var valueDiv = document.createElement("div")
|
var valueDiv = document.createElement("div")
|
||||||
@ -290,6 +290,7 @@ class SettingsView{
|
|||||||
valueDiv.appendChild(outputObject.valueText)
|
valueDiv.appendChild(outputObject.valueText)
|
||||||
var buttons = document.createElement("div")
|
var buttons = document.createElement("div")
|
||||||
buttons.classList.add("latency-buttons")
|
buttons.classList.add("latency-buttons")
|
||||||
|
buttons.title = ""
|
||||||
var buttonMinus = document.createElement("span")
|
var buttonMinus = document.createElement("span")
|
||||||
buttonMinus.innerText = "-"
|
buttonMinus.innerText = "-"
|
||||||
buttons.appendChild(buttonMinus)
|
buttons.appendChild(buttonMinus)
|
||||||
@ -1027,7 +1028,7 @@ class SettingsView{
|
|||||||
}
|
}
|
||||||
this.setAltText(item.nameDiv, name)
|
this.setAltText(item.nameDiv, name)
|
||||||
if(item.description || item.description_lang){
|
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)
|
this.getValue(item.id, item.valueDiv)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user