Don't show button to stats page if there's an issue getting the link
This commit is contained in:
parent
988489fae1
commit
2a62c514f1
|
|
@ -2535,7 +2535,9 @@ function setStatsLink() {
|
||||||
myAdsbStatsSiteUrl = data.site_url;
|
myAdsbStatsSiteUrl = data.site_url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
}).fail(function() {
|
||||||
|
$('#stats_page_button').hide();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// updates the page to replace piaware with flightfeeder references
|
// updates the page to replace piaware with flightfeeder references
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue