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
6efe561c
Commit
6efe561c
authored
Dec 03, 2023
by
comfyanonymous
Browse files
Merge branch 'fix-template-sorting' of
https://github.com/pythongosssss/ComfyUI
parents
44d8abad
77ab2c3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
web/extensions/core/nodeTemplates.js
web/extensions/core/nodeTemplates.js
+1
-1
No files found.
web/extensions/core/nodeTemplates.js
View file @
6efe561c
...
...
@@ -164,7 +164,7 @@ class ManageTemplates extends ComfyDialog {
var
prev_i
=
el
.
dataset
.
id
;
if
(
el
==
this
.
draggedEl
&&
prev_i
!=
i
)
{
[
this
.
templates
[
i
]
,
this
.
templates
[
prev_i
]]
=
[
this
.
templates
[
prev_i
]
,
this
.
templates
[
i
]]
;
this
.
templates
.
splice
(
i
,
0
,
this
.
templates
.
splice
(
prev_i
,
1
)[
0
])
;
}
el
.
dataset
.
id
=
i
;
});
...
...
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