backdrop and drag handlers

This commit is contained in:
JeLuF
2023-06-30 23:28:24 +02:00
parent c6d6446606
commit 0d9d01c9f5
2 changed files with 5 additions and 1 deletions

View File

@ -2202,6 +2202,10 @@ embeddingsSearchBox.addEventListener("input", (e) => {
updateEmbeddingsList(embeddingsSearchBox.value)
})
modalDialogCloseOnBackdropClick(embeddingsDialog)
makeDialogDraggable(embeddingsDialog)
if (testDiffusers.checked) {
document.getElementById("embeddings-container").classList.remove("displayNone")
}