mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
disable button when stream not loaded
This commit is contained in:
parent
5bc7040ef6
commit
a0225f6ea3
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ const ControlBar = ({
|
|||
<div className={classnames(styles['control-bar-buttons-menu-container'], { 'open': buttonsMenuOpen })}>
|
||||
{
|
||||
document.pictureInPictureEnabled ?
|
||||
<Button className={classnames(styles['control-bar-button'], { 'disabled': stream === null })} tabIndex={-1} onClick={onPipButtonClick}>
|
||||
<Button className={classnames(styles['control-bar-button'], { 'disabled': duration == null })} tabIndex={-1} onClick={onPipButtonClick}>
|
||||
<Icon className={styles['icon']} name={'open-in-browser'} />
|
||||
</Button>
|
||||
:
|
||||
|
|
|
|||
Loading…
Reference in a new issue