Loading static/js/yalikejazz.mjs +1 −3 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ import * as exercises from "./exercises.mjs" import { createExerciseCard, displayAsSolved, displayAsNonCurrent, displayAsCurrent } from "./exercises.cards.mjs" import { Exercise } from "./exercises.api.mjs" let currentTest = null const currentTest = exercises[new URLSearchParams(location.search).get("id")] const currentState = new State() /** Loading Loading @@ -100,8 +100,6 @@ function redirectToPractice() { } export function main() { currentTest = exercises[new URLSearchParams(location.search).get("id")] if(currentTest === undefined) { // When no test can be loaded, redirect to a URL which leads to a known existing test redirectToPractice() Loading Loading
static/js/yalikejazz.mjs +1 −3 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ import * as exercises from "./exercises.mjs" import { createExerciseCard, displayAsSolved, displayAsNonCurrent, displayAsCurrent } from "./exercises.cards.mjs" import { Exercise } from "./exercises.api.mjs" let currentTest = null const currentTest = exercises[new URLSearchParams(location.search).get("id")] const currentState = new State() /** Loading Loading @@ -100,8 +100,6 @@ function redirectToPractice() { } export function main() { currentTest = exercises[new URLSearchParams(location.search).get("id")] if(currentTest === undefined) { // When no test can be loaded, redirect to a URL which leads to a known existing test redirectToPractice() Loading