mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 13:01:10 +08:00
body now has transition only after it has initialy loaded
This commit is contained in:
parent
1c48c09f34
commit
7185ea9983
2 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,6 @@ body {
|
|||
background: var(--bg-color);
|
||||
font-family: "Roboto Mono";
|
||||
color: var(--main-color);
|
||||
transition: .25s;
|
||||
}
|
||||
|
||||
html { overflow-y: scroll; }
|
||||
|
|
|
@ -969,6 +969,7 @@ $(document).keydown((event) => {
|
|||
loadConfigFromCookie();
|
||||
|
||||
$(document).ready(() => {
|
||||
$('body').css('transition', '.25s');
|
||||
restartTest();
|
||||
if (config.quickTab) {
|
||||
$("#restartTestButton").addClass('hidden');
|
||||
|
|
Loading…
Reference in a new issue