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:
DL6ER
2018-05-09 18:39:29 +02:00
parent 504caf37e5
commit fd3a7d3f57

View File

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