mirror of
https://github.com/vitorpamplona/Nostryfied.git
synced 2025-04-19 10:21:17 +00:00
Fixes bug with urls in relay names
This commit is contained in:
parent
d14d9aa2fb
commit
165d6f003f
@ -110,7 +110,7 @@ const displayRelayStatus = (relayStatusAndCount) => {
|
||||
const relayName = it.replace("wss://", "").replace("ws://", "")
|
||||
const line = "<td>" + relayName + "</td><td>" + relayStatusAndCount[it].status + "</td>" + untilStr + "<td>" + relayStatusAndCount[it].count + "</td>" + "<td>" + msg + "</td>"
|
||||
|
||||
const elemId = relayName.replaceAll(".", "")
|
||||
const elemId = relayName.replaceAll(".", "").replaceAll("/", "-")
|
||||
|
||||
if ($('#' + elemId).length > 0) {
|
||||
$('#' + elemId).html(line)
|
||||
|
Loading…
x
Reference in New Issue
Block a user