Don't show button to stats page if there's an issue getting the link

This commit is contained in:
eric1tran 2021-03-09 18:47:27 +00:00
parent 988489fae1
commit 2a62c514f1
1 changed files with 3 additions and 1 deletions

View File

@ -2535,7 +2535,9 @@ function setStatsLink() {
myAdsbStatsSiteUrl = data.site_url;
}
}
})
}).fail(function() {
$('#stats_page_button').hide();
});
}
// updates the page to replace piaware with flightfeeder references