Skip to content

Commit

Permalink
remove redundant statement
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Feb 28, 2024
1 parent 0a67007 commit 0a1a10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html5/connect.html
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ <h4 class="panel-title">Advanced options</h4>
);
};

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 =
Expand Down

0 comments on commit 0a1a10c

Please sign in to comment.