mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 22:59:14 +00:00
changed the auto sort function to make the function es5 compliant as the rest of the project is already
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