diff --git a/TransportYJS.js b/TransportYJS.js index 8f176d2..db2c986 100644 --- a/TransportYJS.js +++ b/TransportYJS.js @@ -292,7 +292,7 @@ class TransportYJS extends Transport { async p_getall(url, {verbose=false}={}) { let y = await this.p_connection(url, verbose); let keys = y.share.map.keys(); // Surprisingly this is sync, the p_connection should have synchronised - return this._p_get(y, keys. {verbose}); + return this._p_get(y, keys, {verbose}); } async p_rawfetch(url, {verbose=false}={}) { return { // See identical structure in TransportHTTP diff --git a/Transports.js b/Transports.js index d718df1..2b26f98 100644 --- a/Transports.js +++ b/Transports.js @@ -500,7 +500,7 @@ class Transports { tabbrevs = tabbrevs.map(n => n.toUpperCase()); let transports = this.setup0(tabbrevs, options, verbose); if (!!options.statuselement) { - while (statuselement.lastChild) {el.removeChild(el.lastChild); } // Remove any exist status + while (statuselement.lastChild) {statuselement.removeChild(statuselement.lastChild); } // Remove any exist status statuselement.appendChild( utils.createElement("UL", {}, transports.map(t => { let el = utils.createElement("LI",