Bug fixes and correct answer count in results

This commit is contained in:
Mawoka
2025-10-25 22:49:02 +02:00
parent 932f8dfbcf
commit caa2a6002f
37 changed files with 164 additions and 157 deletions
@@ -96,7 +96,7 @@ SPDX-License-Identifier: MPL-2.0
</div>
</div>
<div class="flex justify-center p-2">
<BrownButton on:click={add_card}
<BrownButton onclick={add_card}
>{$t('quiztivity.memory.editor.add_pair')}</BrownButton
>
</div>
@@ -115,13 +115,13 @@ SPDX-License-Identifier: MPL-2.0
</div>
<div class="grid grid-cols-2 p-2 gap-2">
<BrownButton
on:click={() => {
onclick={() => {
move_card_left(i);
}}
disabled={i === 0}>{$t('quiztivity.editor.move_left')}</BrownButton
>
<BrownButton
on:click={() => {
onclick={() => {
move_card_right(i);
}}
disabled={i + 1 === data.cards.length}