mirror of
https://github.com/jech/galene.git
synced 2024-12-22 15:25:48 +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
|
||||
resizePeers();
|
||||
}
|
||||
setViewportHeight();
|
||||
|
||||
// On resize and orientation change, we update viewport height
|
||||
addEventListener('resize', setViewportHeight);
|
||||
|
@ -2937,6 +2936,8 @@ function start() {
|
|||
|
||||
fillLogin();
|
||||
document.getElementById("login-container").classList.remove('invisible');
|
||||
|
||||
setViewportHeight();
|
||||
}
|
||||
|
||||
start();
|
||||
|
|
Loading…
Reference in a new issue