vbox bits check
This commit is contained in:
parent
604a604c01
commit
f2add9a836
@ -257,7 +257,7 @@ class Vbox extends preact.Component {
|
|||||||
class='vbox-btn'
|
class='vbox-btn'
|
||||||
onMouseOver={e => hoverInfo(e, 'refill')}
|
onMouseOver={e => hoverInfo(e, 'refill')}
|
||||||
disabled={vbox.bits < 2
|
disabled={vbox.bits < 2
|
||||||
|| tutorial && tutorial < 7 && instance.time_control === 'Practice' && instance.rounds.length === 1
|
|| (tutorial && tutorial < 7 && instance.time_control === 'Practice' && instance.rounds.length === 1)
|
||||||
}
|
}
|
||||||
onClick={e => e.stopPropagation()}
|
onClick={e => e.stopPropagation()}
|
||||||
onMouseDown={() => sendVboxDiscard()}>
|
onMouseDown={() => sendVboxDiscard()}>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user