From 0a1a10c906563b8573b0f308e8466b015e5ae919 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Wed, 28 Feb 2024 16:30:58 +0700 Subject: [PATCH] remove redundant statement --- html5/connect.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html5/connect.html b/html5/connect.html index ef1d873f..6d35d2a9 100644 --- a/html5/connect.html +++ b/html5/connect.html @@ -798,7 +798,7 @@

Advanced options

); }; - const disconnect_reason = getparam("disconnect") || null; + const disconnect_reason = getparam("disconnect"); if (disconnect_reason) { document.getElementById("alert-disconnect").style.display = "block"; document.getElementById("disconnect-reason").innerText =