mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
fix: fix variant buttons disabled state
This commit is contained in:
parent
c119d4a721
commit
58c68944ab
@ -100,14 +100,14 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<Button
|
<Button
|
||||||
on:click={prevVariant}
|
on:click={prevVariant}
|
||||||
unclickable={i <= 0}
|
disabled={i <= 0}
|
||||||
icon={previous}
|
icon={previous}
|
||||||
alt="previous"
|
alt="previous"
|
||||||
kind="circle"
|
kind="circle"
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
on:click={nextVariant}
|
on:click={nextVariant}
|
||||||
unclickable={i + 1 >= variants.length}
|
disabled={i + 1 >= variants.length}
|
||||||
icon={next}
|
icon={next}
|
||||||
alt="next"
|
alt="next"
|
||||||
kind="circle"
|
kind="circle"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user