mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 21:51:29 +08:00
resetting custom classes before running checks that return from the function
This commit is contained in:
parent
4f1e6b2285
commit
a0aac5c2ea
1 changed files with 3 additions and 3 deletions
|
|
@ -100,6 +100,9 @@ export async function activate(funbox) {
|
|||
|
||||
let funboxInfo = await Misc.getFunbox(funbox);
|
||||
|
||||
$("#funBoxTheme").attr("href", ``);
|
||||
$("#words").removeClass("nospace");
|
||||
$("#words").removeClass("arrows");
|
||||
if (await Misc.getCurrentLanguage().ligatures) {
|
||||
if (funbox == "choo_choo" || funbox == "earthquake") {
|
||||
Notifications.add(
|
||||
|
|
@ -123,9 +126,6 @@ export async function activate(funbox) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
$("#funBoxTheme").attr("href", ``);
|
||||
$("#words").removeClass("nospace");
|
||||
$("#words").removeClass("arrows");
|
||||
// if (funbox === "none") {
|
||||
|
||||
reset();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue