Linter fix
This commit is contained in:
parent
6516e621b0
commit
beb0d1ef0a
@ -117,10 +117,10 @@ class LayoutManager {
|
|||||||
HtmlUtils.getElementByIdOrFail<HTMLDivElement>('chat-mode').style.display = 'flex';
|
HtmlUtils.getElementByIdOrFail<HTMLDivElement>('chat-mode').style.display = 'flex';
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let div of this.importantDivs.values()) {
|
for (const div of this.importantDivs.values()) {
|
||||||
this.positionDiv(div, DivImportance.Important);
|
this.positionDiv(div, DivImportance.Important);
|
||||||
}
|
}
|
||||||
for (let div of this.normalDivs.values()) {
|
for (const div of this.normalDivs.values()) {
|
||||||
this.positionDiv(div, DivImportance.Normal);
|
this.positionDiv(div, DivImportance.Normal);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -198,7 +198,7 @@ export class SimplePeer {
|
|||||||
|
|
||||||
this.addMedia(user.userId);
|
this.addMedia(user.userId);
|
||||||
|
|
||||||
for (let peerConnectionListener of this.peerConnectionListeners) {
|
for (const peerConnectionListener of this.peerConnectionListeners) {
|
||||||
peerConnectionListener.onConnect(user);
|
peerConnectionListener.onConnect(user);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -222,7 +222,7 @@ export class SimplePeer {
|
|||||||
peer.destroy();
|
peer.destroy();
|
||||||
this.PeerConnectionArray.delete(userId)
|
this.PeerConnectionArray.delete(userId)
|
||||||
//console.log('Nb users in peerConnectionArray '+this.PeerConnectionArray.size);
|
//console.log('Nb users in peerConnectionArray '+this.PeerConnectionArray.size);
|
||||||
for (let peerConnectionListener of this.peerConnectionListeners) {
|
for (const peerConnectionListener of this.peerConnectionListeners) {
|
||||||
peerConnectionListener.onDisconnect(userId);
|
peerConnectionListener.onDisconnect(userId);
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user