mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 04:38:28 +00:00
Don't return too early when filling tables with top domains/top ads data. Otherwise, we might miss to remove the loading spinners. This fixes an issue brought up on Discourse.
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -617,7 +617,6 @@ function updateTopLists() {
|
||||
if(jQuery.isEmptyObject(data.top_queries))
|
||||
{
|
||||
$("#domain-frequency").parent().remove();
|
||||
return;
|
||||
}
|
||||
|
||||
for (domain in data.top_ads) {
|
||||
@@ -641,7 +640,6 @@ function updateTopLists() {
|
||||
if(jQuery.isEmptyObject(data.top_ads))
|
||||
{
|
||||
$("#ad-frequency").parent().remove();
|
||||
return;
|
||||
}
|
||||
|
||||
$("#domain-frequency .overlay").hide();
|
||||
|
||||
Reference in New Issue
Block a user