diff --git a/public_html_merged/script.js b/public_html_merged/script.js
index f654e9d..785d3eb 100644
--- a/public_html_merged/script.js
+++ b/public_html_merged/script.js
@@ -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