mirror of
https://github.com/jech/galene.git
synced 2024-11-26 10:35:59 +01:00
Hide mute button when user is not allowed to present.
This commit is contained in:
parent
6e5348101c
commit
02504bcf9b
1 changed files with 2 additions and 0 deletions
|
@ -391,6 +391,8 @@ function setButtonsVisibility() {
|
||||||
setVisibility('presentbutton', permissions.present && !local);
|
setVisibility('presentbutton', permissions.present && !local);
|
||||||
setVisibility('unpresentbutton', local);
|
setVisibility('unpresentbutton', local);
|
||||||
|
|
||||||
|
setVisibility('mutebutton', permissions.present);
|
||||||
|
|
||||||
// allow multiple shared documents
|
// allow multiple shared documents
|
||||||
setVisibility('sharebutton', permissions.present &&
|
setVisibility('sharebutton', permissions.present &&
|
||||||
('getDisplayMedia' in navigator.mediaDevices));
|
('getDisplayMedia' in navigator.mediaDevices));
|
||||||
|
|
Loading…
Reference in a new issue