mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-04 07:40:13 +01:00
UI: Minor improvement after 0e88a621fd
This commit is contained in:
parent
2238302b49
commit
2f6a629393
|
|
@ -583,7 +583,7 @@ function moveToChatTab() {
|
|||
|
||||
const chatControlsFirstChild = document.querySelector("#chat-controls").firstElementChild;
|
||||
const newParent = chatControlsFirstChild;
|
||||
let newPosition = newParent.children.length - 2;
|
||||
let newPosition = newParent.children.length - 3;
|
||||
|
||||
newParent.insertBefore(grandParent, newParent.children[newPosition]);
|
||||
document.getElementById("save-character").style.display = "none";
|
||||
|
|
|
|||
Loading…
Reference in a new issue