mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Merge pull request #525 from pi-hole/tweak/sort_lists
Sort list entries (black-/whitelist) alphabetically
This commit is contained in:
@@ -61,7 +61,7 @@ function refresh(fade) {
|
||||
{
|
||||
listw.html("");
|
||||
}
|
||||
var data = JSON.parse(response);
|
||||
var data = JSON.parse(response).sort();
|
||||
|
||||
if(data.length === 0) {
|
||||
$("h3").hide();
|
||||
|
||||
Reference in New Issue
Block a user