mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
perf: setting transition on background only instead of all properties
This commit is contained in:
parent
619bc23331
commit
fd35be0bae
|
@ -37,7 +37,7 @@ $(document).ready(() => {
|
|||
|
||||
CookiePopup.check();
|
||||
|
||||
$("body").css("transition", "all .25s, transform .05s");
|
||||
$("body").css("transition", "background .25s, transform .05s");
|
||||
if (Config.quickRestart === "tab" || Config.quickRestart === "esc") {
|
||||
$("#restartTestButton").addClass("hidden");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue