mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 08:16:20 +08:00
# Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # Date: Fri Sep 9 18:28:31 2022 +0200 # # On branch noLanguageNoticeZenMode # Changes to be committed: # modified: frontend/src/ts/elements/modes-notice.ts #
This commit is contained in:
parent
82801fe36f
commit
36a41325d9
|
@ -63,12 +63,14 @@ export async function update(): Promise<void> {
|
|||
);
|
||||
}
|
||||
|
||||
$(".pageTest #testModesNotice").append(
|
||||
`<div class="textButton" commands="commandsLanguages"><i class="fas fa-globe-americas"></i>${Config.language.replace(
|
||||
/_/g,
|
||||
" "
|
||||
)}</div>`
|
||||
);
|
||||
if (Config.mode !== "zen") {
|
||||
$(".pageTest #testModesNotice").append(
|
||||
`<div class="textButton" commands="commandsLanguages"><i class="fas fa-globe-americas"></i>${Config.language.replace(
|
||||
/_/g,
|
||||
" "
|
||||
)}</div>`
|
||||
);
|
||||
}
|
||||
|
||||
if (Config.difficulty === "expert") {
|
||||
$(".pageTest #testModesNotice").append(
|
||||
|
|
Loading…
Reference in a new issue