changed the auto sort function to make the function es5 compliant as the rest of the project is already

This commit is contained in:
Nathan Kendall
2021-07-26 10:23:09 +01:00
parent 0a21262238
commit 7ccd907f71

View File

@@ -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;