body now has transition only after it has initialy loaded

This commit is contained in:
Jack 2020-05-15 04:23:48 +01:00
parent 04a103919f
commit 11b0e3b026
2 changed files with 1 additions and 1 deletions

View file

@ -28,7 +28,6 @@ body {
background: var(--bg-color);
font-family: "Roboto Mono";
color: var(--main-color);
transition: .25s;
}
html { overflow-y: scroll; }

View file

@ -969,6 +969,7 @@ $(document).keydown((event) => {
loadConfigFromCookie();
$(document).ready(() => {
$('body').css('transition', '.25s');
restartTest();
if (config.quickTab) {
$("#restartTestButton").addClass('hidden');