Fix: Tagesübung nur JS-kompatible exercise_ids, Scroll per exercise_id; Landing+llms.txt Sprint-20 — SW by-v492, APP_VER 469
This commit is contained in:
parent
fe2e718827
commit
175984e80f
7 changed files with 78 additions and 36 deletions
|
|
@ -364,7 +364,8 @@ window.Page_welcome = (() => {
|
|||
${ex ? `
|
||||
<div class="wc-chip" id="wc-chip-exercise"
|
||||
data-exercise-name="${UI.escape(ex.name)}"
|
||||
data-exercise-kat="${UI.escape(ex.kategorie || '')}">
|
||||
data-exercise-kat="${UI.escape(ex.kategorie || '')}"
|
||||
data-exercise-id="${UI.escape(ex.exercise_id || '')}">
|
||||
<svg class="ph-icon wc-chip-icon" aria-hidden="true"><use href="/icons/phosphor.svg#target"></use></svg>
|
||||
<span class="wc-chip-label">Übung des Tages</span>
|
||||
<span class="wc-chip-val">${UI.escape(ex.name)}</span>
|
||||
|
|
@ -534,8 +535,9 @@ window.Page_welcome = (() => {
|
|||
if (exChip) {
|
||||
exChip.addEventListener('click', () => {
|
||||
App.navigate('uebungen', true, {
|
||||
name: exChip.dataset.exerciseName,
|
||||
kategorie: exChip.dataset.exerciseKat,
|
||||
name: exChip.dataset.exerciseName,
|
||||
kategorie: exChip.dataset.exerciseKat,
|
||||
exercise_id: exChip.dataset.exerciseId,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
@ -1154,8 +1156,9 @@ window.Page_welcome = (() => {
|
|||
if (exChip) {
|
||||
exChip.addEventListener('click', () => {
|
||||
App.navigate('uebungen', true, {
|
||||
name: exChip.dataset.exerciseName,
|
||||
kategorie: exChip.dataset.exerciseKat,
|
||||
name: exChip.dataset.exerciseName,
|
||||
kategorie: exChip.dataset.exerciseKat,
|
||||
exercise_id: exChip.dataset.exerciseId,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue