mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
removing text
This commit is contained in:
parent
9bb7d0fb4d
commit
9641bf1902
1 changed files with 1 additions and 3 deletions
|
@ -1589,14 +1589,12 @@ export async function finish(difficultyFailed = false) {
|
|||
) {
|
||||
if (firebase.auth().currentUser != null) {
|
||||
completedEvent.uid = firebase.auth().currentUser.uid;
|
||||
|
||||
$(".pageTest #result #rateQuoteButton .rating").text("");
|
||||
RateQuotePopup.getQuoteStats(randomQuote).then((quoteStats) => {
|
||||
if (quoteStats !== null) {
|
||||
$(".pageTest #result #rateQuoteButton .rating").text(
|
||||
quoteStats.average
|
||||
);
|
||||
} else {
|
||||
$(".pageTest #result #rateQuoteButton .rating").text("");
|
||||
}
|
||||
$(".pageTest #result #rateQuoteButton")
|
||||
.css({ opacity: 0 })
|
||||
|
|
Loading…
Reference in a new issue