Skip to content
Snippets Groups Projects
Commit 363f1e16 authored by echicken's avatar echicken
Browse files

Lower case domain names during sort comparison.

parent e94bc44f
Branches
Tags
No related merge requests found
......@@ -195,7 +195,7 @@ function populate_tree(tree, settings) {
}
});
tree.items.sort(function (a, b) {
return a.text < b.text ? -1 : 1;
return a.text.toLowerCase() < b.text.toLowerCase() ? -1 : 1;
});
tree.refresh();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment