added some indicators to show if its the dev project or its hosted locally

This commit is contained in:
Jack 2020-05-19 12:21:27 +01:00
parent a0a5f4308b
commit 0d5a38c9b7

View file

@ -1045,6 +1045,17 @@ $(document).keydown((event) => {
loadConfigFromCookie();
getReleasesFromGitHub();
if (firebase.app().options.projectId === "monkey-type-dev-67af4") {
$("#top .logo .bottom").text("monkey-dev");
$("head title").text("Monkey Dev")
}
if (window.location.hostname === "localhost") {
$("#top .logo .top").text("localhost");
$("head title").text($("head title").text() + " (localhost)");
}
$(document).ready(() => {
$('body').css('transition', '.25s');
restartTest();