From 3d27fc5ca1f50f95178013580e1eb39fa0047ff9 Mon Sep 17 00:00:00 2001 From: pypy Date: Mon, 13 Jan 2020 21:48:27 +0900 Subject: [PATCH] remove unnecessary condition --- html/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ||