mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-18 13:21:21 +08:00
shownig language above the text is not 200 in length
This commit is contained in:
parent
fd4066320f
commit
1f2a3aef35
1 changed files with 4 additions and 2 deletions
|
|
@ -3770,10 +3770,12 @@ function updateTestModesNotice() {
|
|||
);
|
||||
}
|
||||
|
||||
if (config.language === "english_1k" || config.language === "english_10k") {
|
||||
// /^[0-9a-zA-Z_.-]+$/.test(name);
|
||||
|
||||
if (/_\d+k$/g.test(config.language)) {
|
||||
$(".pageTest #testModesNotice").append(
|
||||
`<div class="text-button" commands="commandsLanguages"><i class="fas fa-globe-americas"></i>${config.language.replace(
|
||||
"_",
|
||||
/_/g,
|
||||
" "
|
||||
)}</div>`
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue