Removing useless ternary
This commit is contained in:
parent
f217fc8aad
commit
d0d191fc28
@ -92,7 +92,7 @@ export class RoomConnection implements RoomConnection {
|
|||||||
url += "/";
|
url += "/";
|
||||||
}
|
}
|
||||||
url += "room";
|
url += "room";
|
||||||
url += "?roomId=" + (roomUrl ? encodeURIComponent(roomUrl) : "");
|
url += "?roomId=" + encodeURIComponent(roomUrl);
|
||||||
url += "&token=" + (token ? encodeURIComponent(token) : "");
|
url += "&token=" + (token ? encodeURIComponent(token) : "");
|
||||||
url += "&name=" + encodeURIComponent(name);
|
url += "&name=" + encodeURIComponent(name);
|
||||||
for (const layer of characterLayers) {
|
for (const layer of characterLayers) {
|
||||||
|
Loading…
Reference in New Issue
Block a user