mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 13:01:10 +08:00
added some indicators to show if its the dev project or its hosted locally
This commit is contained in:
parent
03dda6f977
commit
93876ce19b
1 changed files with 11 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue