update main ui

This commit is contained in:
Vladimir Mandic
2023-09-28 14:32:19 -04:00
parent 23593d5442
commit a785f3da2e
12 changed files with 32 additions and 60 deletions
+1 -6
View File
@@ -179,12 +179,7 @@ function modelmerger(...args) {
return res;
}
function ask_for_style_name(_, prompt_text, negative_prompt_text) {
const name = prompt('Style name:'); // eslint-disable-line no-alert
return [name, prompt_text, negative_prompt_text];
}
function confirm_clear_prompt(prompt, negative_prompt) {
function clearPrompts(prompt, negative_prompt) {
prompt = '';
negative_prompt = '';
return [prompt, negative_prompt];