mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-05 04:56:48 +08:00
hopefully fixed the screenshot state freezing #1189
This commit is contained in:
parent
dbdbe75bd0
commit
a973a16a0a
1 changed files with 8 additions and 0 deletions
|
@ -255,6 +255,14 @@ export function screenshot() {
|
|||
if (firebase.auth().currentUser == null)
|
||||
$(".pageTest .loginTip").removeClass("hidden");
|
||||
}
|
||||
setTimeout(() => {
|
||||
$("#notificationCenter").removeClass("hidden");
|
||||
$("#commandLineMobileButton").removeClass("hidden");
|
||||
$(".pageTest .ssWatermark").addClass("hidden");
|
||||
$(".pageTest .buttons").removeClass("hidden");
|
||||
if (firebase.auth().currentUser == null)
|
||||
$(".pageTest .loginTip").removeClass("hidden");
|
||||
}, 3000);
|
||||
}
|
||||
|
||||
export function updateWordElement(showError) {
|
||||
|
|
Loading…
Add table
Reference in a new issue