Tasto leave chiude finestra

auto_join
Pietro Brenna 2020-05-13 10:57:44 +02:00
parent e03ab517e0
commit 8f87b1a3c1
1 changed files with 10 additions and 10 deletions

View File

@ -47,7 +47,7 @@ const styles = (theme) =>
}, },
divider : divider :
{ {
marginLeft : theme.spacing(3), marginLeft : theme.spacing(3)
}, },
show : show :
{ {
@ -345,7 +345,7 @@ const TopBar = (props) =>
className={classes.actionButton} className={classes.actionButton}
variant='contained' variant='contained'
color='secondary' color='secondary'
onClick={() => roomClient.close()} onClick={() => { roomClient.close(); window.close(); }}
> >
<FormattedMessage <FormattedMessage
id='label.leave' id='label.leave'