mirror of
https://github.com/fluencelabs/dweb-transports
synced 2025-03-15 10:30:48 +00:00
Fix bug in statuselement
This commit is contained in:
parent
3264fdeeef
commit
1897822b88
@ -560,6 +560,7 @@ class Transports {
|
||||
this.statuscb = options.statuscb;
|
||||
}
|
||||
if (!!options.statuselement) {
|
||||
let statuselement = options.statuselement;
|
||||
while (statuselement.lastChild) {statuselement.removeChild(statuselement.lastChild); } // Remove any exist status
|
||||
statuselement.appendChild(
|
||||
utils.createElement("UL", {}, transports.map(t => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user