mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 15:40:10 +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) {
|
||||
r.sort((a, b) => a.title.localeCompare(b.title));
|
||||
r.sort(function(a,b){return a.title.localeCompare(b.title)});
|
||||
}
|
||||
|
||||
return r;
|
||||
|
||||
Reference in New Issue
Block a user