diff --git a/html/app.js b/html/app.js
index cb651ec9..eac04f13 100644
--- a/html/app.js
+++ b/html/app.js
@@ -1814,7 +1814,7 @@ CefSharp.BindObjectAsync(
API.parseInviteLocation = function (ref) {
try {
var L = API.parseLocation(ref.details.worldId);
- if (L.worldId !== '' && L.instanceId !== '') {
+ if (L.worldId && L.instanceId) {
return `${ref.details.worldName} #${L.instanceName} ${L.accessType}`;
}
return ref.message ||