mirror of
https://github.com/vitorpamplona/Nostryfied.git
synced 2025-06-06 18:31:07 +00:00
Fixes Progress Bar end mark
This commit is contained in:
parent
491b98ae72
commit
59b6154e3c
@ -36,7 +36,7 @@ const fetchAndBroadcast = async () => {
|
|||||||
// inform user fetching is done
|
// inform user fetching is done
|
||||||
$('#fetching-status').html(txt.fetching + checkMark)
|
$('#fetching-status').html(txt.fetching + checkMark)
|
||||||
clearInterval(fetchInterval)
|
clearInterval(fetchInterval)
|
||||||
$('#fetching-progress').val(20)
|
$('#fetching-progress').val(300)
|
||||||
// inform user that backup file (js format) is being downloaded
|
// inform user that backup file (js format) is being downloaded
|
||||||
$('#file-download').html(txt.download)
|
$('#file-download').html(txt.download)
|
||||||
downloadFile(data, 'nostr-backup.js')
|
downloadFile(data, 'nostr-backup.js')
|
||||||
@ -53,7 +53,7 @@ const fetchAndBroadcast = async () => {
|
|||||||
// inform user that broadcasting is done
|
// inform user that broadcasting is done
|
||||||
$('#broadcasting-status').html(txt.broadcasting + checkMark)
|
$('#broadcasting-status').html(txt.broadcasting + checkMark)
|
||||||
clearInterval(broadcastInterval)
|
clearInterval(broadcastInterval)
|
||||||
$('#broadcasting-progress').val(20)
|
$('#broadcasting-progress').val(300)
|
||||||
// re-enable broadcast button
|
// re-enable broadcast button
|
||||||
$('#fetch-and-broadcast').prop('disabled', false)
|
$('#fetch-and-broadcast').prop('disabled', false)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user