Remove priority on iframe add to cowebsites
This commit is contained in:
parent
5dc3fbcce5
commit
7334d59c4f
@ -618,6 +618,10 @@ class CoWebsiteManager {
|
||||
closable?: boolean,
|
||||
jitsi?: boolean
|
||||
): CoWebsite {
|
||||
if (get(coWebsitesNotAsleep).length < 1) {
|
||||
this.loadMain(widthPercent);
|
||||
}
|
||||
|
||||
iframe.id = this.generateUniqueId();
|
||||
|
||||
const newCoWebsite: CoWebsite = {
|
||||
@ -631,12 +635,6 @@ class CoWebsiteManager {
|
||||
jitsi,
|
||||
};
|
||||
|
||||
if (get(coWebsitesNotAsleep).length < 1) {
|
||||
coWebsites.remove(newCoWebsite);
|
||||
coWebsites.add(newCoWebsite, 0);
|
||||
this.loadMain(widthPercent);
|
||||
}
|
||||
|
||||
if (position === 0) {
|
||||
this.openMain();
|
||||
setTimeout(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user