mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
Merge pull request #242 from turkron/master
changed the auto sort function to make the function es5 compliant as …
This commit is contained in:
@@ -418,7 +418,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.auto_sort_node_types) {
|
if (this.auto_sort_node_types) {
|
||||||
r.sort((a, b) => a.title.localeCompare(b.title));
|
r.sort(function(a,b){return a.title.localeCompare(b.title)});
|
||||||
}
|
}
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
|||||||
Reference in New Issue
Block a user