mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
Move call the setViewportHeight to start function.
This avoids issues with initialisation order.
This commit is contained in:
parent
3f3b245926
commit
16bf4d6c95
1 changed files with 2 additions and 1 deletions
|
@ -371,7 +371,6 @@ function setViewportHeight() {
|
||||||
// Ajust video component size
|
// Ajust video component size
|
||||||
resizePeers();
|
resizePeers();
|
||||||
}
|
}
|
||||||
setViewportHeight();
|
|
||||||
|
|
||||||
// On resize and orientation change, we update viewport height
|
// On resize and orientation change, we update viewport height
|
||||||
addEventListener('resize', setViewportHeight);
|
addEventListener('resize', setViewportHeight);
|
||||||
|
@ -2937,6 +2936,8 @@ function start() {
|
||||||
|
|
||||||
fillLogin();
|
fillLogin();
|
||||||
document.getElementById("login-container").classList.remove('invisible');
|
document.getElementById("login-container").classList.remove('invisible');
|
||||||
|
|
||||||
|
setViewportHeight();
|
||||||
}
|
}
|
||||||
|
|
||||||
start();
|
start();
|
||||||
|
|
Loading…
Reference in a new issue