button_count -> buttonCount

This commit is contained in:
Luc Mcgrady 2025-11-14 13:57:55 +00:00
parent 561a6e2d9b
commit e263fa00b8
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C

View file

@ -16,7 +16,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
const answerButtons = state.answerButtons;
const answerShown = state.answerShown;
$: button_count = $answerShown ? $answerButtons.length : 1;
$: buttonCount = $answerShown ? $answerButtons.length : 1;
$: cardData = state.cardData;
$: remainingShown =
($cardData?.queue?.learningCount ?? 0) +
@ -26,7 +26,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
</script>
<div id="outer" class="fancy">
<div id="tableinner" style="--answer-button-count: {button_count}">
<div id="tableinner" style="--answer-button-count: {buttonCount}">
<span class="disappearing"></span>
<div class="disappearing edit">
<button