Loading static/js/exercises.cards.mjs +3 −3 Changes for static/js/exercises.cards.mjs: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ import { createElementWithClass } from "./util.mjs" * (this method does not care if the exercise is actually solved) * @param {HTMLElement} cardEl The .card element */ function displayAsSolved(cardEl) { export function displayAsSolved(cardEl) { cardEl.classList.add("solved") setCardHoverTitle(cardEl, "Diese Aufgabe ist bereits gelöst, du kannst nicht mehr zu ihr springen.", false) } Loading @@ -17,7 +17,7 @@ import { createElementWithClass } from "./util.mjs" * Changes the appearance of the given exercise card so it looks like it is current * @param {HTMLElement} cardEl The .card element */ function displayAsCurrent(cardEl) { export function displayAsCurrent(cardEl) { cardEl.classList.remove("collapsed") setCardHoverTitle(cardEl, "Du kannst nicht zur aktuellen Aufgabe springen.", false) } Loading @@ -26,7 +26,7 @@ function displayAsCurrent(cardEl) { * Changes the appearance of the given exercise card so it looks like it is not current * @param {HTMLElement} cardEl The .card element */ function displayAsNonCurrent(cardEl) { export function displayAsNonCurrent(cardEl) { cardEl.classList.add("collapsed") if(!cardEl.classList.contains("solved")) { Loading Loading
static/js/exercises.cards.mjs +3 −3 Changes for static/js/exercises.cards.mjs: 3 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ import { createElementWithClass } from "./util.mjs" * (this method does not care if the exercise is actually solved) * @param {HTMLElement} cardEl The .card element */ function displayAsSolved(cardEl) { export function displayAsSolved(cardEl) { cardEl.classList.add("solved") setCardHoverTitle(cardEl, "Diese Aufgabe ist bereits gelöst, du kannst nicht mehr zu ihr springen.", false) } Loading @@ -17,7 +17,7 @@ import { createElementWithClass } from "./util.mjs" * Changes the appearance of the given exercise card so it looks like it is current * @param {HTMLElement} cardEl The .card element */ function displayAsCurrent(cardEl) { export function displayAsCurrent(cardEl) { cardEl.classList.remove("collapsed") setCardHoverTitle(cardEl, "Du kannst nicht zur aktuellen Aufgabe springen.", false) } Loading @@ -26,7 +26,7 @@ function displayAsCurrent(cardEl) { * Changes the appearance of the given exercise card so it looks like it is not current * @param {HTMLElement} cardEl The .card element */ function displayAsNonCurrent(cardEl) { export function displayAsNonCurrent(cardEl) { cardEl.classList.add("collapsed") if(!cardEl.classList.contains("solved")) { Loading