Merge pull request #1834 from thecodingmachine/stabilize-cowebsite
Remove priority on iframe add to cowebsites
This commit is contained in:
commit
31f3b2b48e
@ -618,6 +618,10 @@ class CoWebsiteManager {
|
|||||||
closable?: boolean,
|
closable?: boolean,
|
||||||
jitsi?: boolean
|
jitsi?: boolean
|
||||||
): CoWebsite {
|
): CoWebsite {
|
||||||
|
if (get(coWebsitesNotAsleep).length < 1) {
|
||||||
|
this.loadMain(widthPercent);
|
||||||
|
}
|
||||||
|
|
||||||
iframe.id = this.generateUniqueId();
|
iframe.id = this.generateUniqueId();
|
||||||
|
|
||||||
const newCoWebsite: CoWebsite = {
|
const newCoWebsite: CoWebsite = {
|
||||||
@ -631,12 +635,6 @@ class CoWebsiteManager {
|
|||||||
jitsi,
|
jitsi,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (get(coWebsitesNotAsleep).length < 1) {
|
|
||||||
coWebsites.remove(newCoWebsite);
|
|
||||||
coWebsites.add(newCoWebsite, 0);
|
|
||||||
this.loadMain(widthPercent);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (position === 0) {
|
if (position === 0) {
|
||||||
this.openMain();
|
this.openMain();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user