mirror of
https://github.com/ankitects/anki.git
synced 2026-01-07 02:53:54 -05:00
button_count -> buttonCount
This commit is contained in:
parent
561a6e2d9b
commit
e263fa00b8
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue