1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-23 00:55:58 +01:00

fix resize video on screen sharing too

This commit is contained in:
Alain Takoudjou 2020-10-31 01:15:03 +01:00
parent 4e2993dd1d
commit e900ef6d89
2 changed files with 2 additions and 2 deletions

View file

@ -1032,8 +1032,7 @@ header .collapse {
/* END Sidebar Left */ /* END Sidebar Left */
/*@media only screen and (max-width: 768px) {*/ @media only screen and (max-device-width: 1024px) {
@media only screen and (max-device-width: 768px) {
.nav-link { .nav-link {
margin: 0; margin: 0;
line-height: 1.5; line-height: 1.5;

View file

@ -462,6 +462,7 @@ document.getElementById('sharebutton').onclick = function(e) {
document.getElementById('unsharebutton').onclick = function(e) { document.getElementById('unsharebutton').onclick = function(e) {
e.preventDefault(); e.preventDefault();
delUpMediaKind('screenshare'); delUpMediaKind('screenshare');
resizePeers();
} }
/** @returns {number} */ /** @returns {number} */