From 5fddae589b5c930244654029f7a7220b92cdfe31 Mon Sep 17 00:00:00 2001 From: patriceac <48073125+patriceac@users.noreply.github.com> Date: Wed, 28 Dec 2022 16:54:36 -0800 Subject: [PATCH] Reverting duplicate hypernetwork fix --- ui/media/js/dnd.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/media/js/dnd.js b/ui/media/js/dnd.js index fa24ca00..c054bdf5 100644 --- a/ui/media/js/dnd.js +++ b/ui/media/js/dnd.js @@ -304,11 +304,7 @@ function restoreTaskToUI(task, fieldsToSkip) { // restore the original tag promptField.value = task.reqBody.original_prompt || task.reqBody.prompt - // properly reset missing fields - if (!('use_hypernetwork_model' in task.reqBody)) { - hypernetworkModelField.value = "" - hypernetworkModelField.dispatchEvent(new Event("change")) - } + // properly reset checkboxes if (!('use_face_correction' in task.reqBody)) { useFaceCorrectionField.checked = false }