mirror of
https://github.com/vitorpamplona/Nostryfied.git
synced 2025-04-19 18:31:17 +00:00
Cleaning up the restart.
This commit is contained in:
parent
3d0006946b
commit
0100def187
@ -73,9 +73,12 @@ const fetchAndBroadcast = async () => {
|
||||
$('#broadcasting-progress').css('visibility', 'visible')
|
||||
$('#broadcasting-progress').prop('max', relays.length)
|
||||
|
||||
$('#checking-relays-header').html("")
|
||||
$('#checking-relays').html("<tr id=\"checking-relays-header\"></tr>")
|
||||
|
||||
$('#checking-relays-header-box').css('display', 'flex')
|
||||
$('#checking-relays-box').css('display', 'flex')
|
||||
$('#checking-relays-header').html("<th>Relay</th><th>Status</th><th>From Key</th><th>About Key</th><th>Events</th>")
|
||||
$('#checking-relays-header').html("<th>Relay</th><th>Status</th><th></th><th></th><th>Events</th>")
|
||||
|
||||
await broadcastEvents(data)
|
||||
}
|
||||
@ -156,7 +159,7 @@ const broadcast = async (data) => {
|
||||
|
||||
$('#checking-relays-header-box').css('display', 'flex')
|
||||
$('#checking-relays-box').css('display', 'flex')
|
||||
$('#checking-relays-header').html("<th>Relay</th><th>Status</th><th>From Key</th><th>About Key</th><th>Events</th>")
|
||||
$('#checking-relays-header').html("<th>Relay</th><th>Status</th><th></th><th></th><th>Events</th>")
|
||||
|
||||
await broadcastEvents(data)
|
||||
|
||||
|
@ -115,7 +115,7 @@ const displayRelayStatus = (relayStatusAndCount) => {
|
||||
)
|
||||
} else {
|
||||
$('#checking-relays-header').html("")
|
||||
$('#checking-relays').html("")
|
||||
$('#checking-relays').html("<tr id=\"checking-relays-header\"></tr>")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user