From 1176ddcc85a587af9c67b876bb644696642edf1c Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Tue, 8 Nov 2022 18:44:11 +0530 Subject: [PATCH] Fix a bug in drag-and-drop where an empty Negative Prompt line would result in the next line getting assigned to negative prompts; Simplify the drag-and-drop text file parsing logic to use a single algorithm, the files are small enough that we don't need over-optimization and confuse new developers --- ui/index.html | 2 +- ui/media/js/dnd.js | 29 ++++++++--------------------- 2 files changed, 9 insertions(+), 22 deletions(-) diff --git a/ui/index.html b/ui/index.html index 0fd87539..3ba452e8 100644 --- a/ui/index.html +++ b/ui/index.html @@ -280,7 +280,7 @@ - +