Edited extraOptions.

Options divided in to different divs to manage them with ease.
This commit is contained in:
Muhammed Yusuf 2023-08-24 15:21:22 +03:00 committed by GitHub
parent b333b0e24d
commit 500f217a6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -617,7 +617,10 @@ export class ComfyUI {
]),
]),
$el("div", {id: "extraOptions", style: {width: "100%", display: "none"}}, [
$el("label", {innerHTML: "Batch count"}, [
$el("div",[
$el("label", {innerHTML: "Batch count"}),
$el("input", {
id: "batchCountInputNumber",
type: "number",
@ -639,6 +642,14 @@ export class ComfyUI {
this.batchCount = i.srcElement.value;
document.getElementById("batchCountInputNumber").value = i.srcElement.value;
},
}),
]),
$el("div",[
$el("label",{
for:"autoQueueCheckbox",
innerHTML: "Auto Queue"
// textContent: "Auto Queue"
}),
$el("input", {
id: "autoQueueCheckbox",
@ -647,11 +658,7 @@ export class ComfyUI {
title: "Automatically queue prompt when the queue size hits 0",
}),
$el("label",{
for:"autoQueueCheckbox",
textContent: "Auto Queue"
})
]),
])
]),
$el("div.comfy-menu-btns", [
$el("button", {