Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
080c758c
Commit
080c758c
authored
Apr 04, 2023
by
City
Browse files
Ask for confirmation before clearing nodes
parent
1718730e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
web/scripts/ui.js
web/scripts/ui.js
+1
-0
No files found.
web/scripts/ui.js
View file @
080c758c
...
...
@@ -510,6 +510,7 @@ export class ComfyUI {
$el
(
"
button
"
,
{
textContent
:
"
Load
"
,
onclick
:
()
=>
fileInput
.
click
()
}),
$el
(
"
button
"
,
{
textContent
:
"
Refresh
"
,
onclick
:
()
=>
app
.
refreshComboInNodes
()
}),
$el
(
"
button
"
,
{
textContent
:
"
Clear
"
,
onclick
:
()
=>
{
if
(
!
confirm
(
"
Are you sure you want to remove all nodes?
"
))
return
;
app
.
clean
();
app
.
graph
.
clear
();
}}),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment