mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
New tooltip for image generation
This commit is contained in:
@@ -803,9 +803,7 @@ function var_changed(data) {
|
||||
image_area.appendChild(image);
|
||||
}
|
||||
} else if (data.classname == "story" && data.name == "picture_prompt") {
|
||||
if (document.getElementById("action image").firstChild) {
|
||||
document.getElementById("action image").firstChild.setAttribute("title", data.value);
|
||||
}
|
||||
if (data.value) document.getElementById("action image").setAttribute("tooltip", data.value);
|
||||
//special case for welcome text since we want to allow HTML
|
||||
} else if (data.classname == 'model' && data.name == 'welcome') {
|
||||
document.getElementById('welcome_text').innerHTML = data.value;
|
||||
|
Reference in New Issue
Block a user