Syntax error fix

This commit is contained in:
molan-git 2020-01-24 22:11:27 +01:00 committed by GitHub
parent 7279d48f63
commit 9e31fa771c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ WorkerScript.onMessage = function(msg) {
console.log("descendants") console.log("descendants")
for (var j = 0; j < data[i].length; j ++) { for (var j = 0; j < data[i].length; j ++) {
item = parseToot(data[i][j]); item = parseToot(data[i][j]);
item['id'] = item['status_id'] item['id'] = item['status_id'];
if (typeof item['attachments'] === "undefined") if (typeof item['attachments'] === "undefined")
item['attachments'] = []; item['attachments'] = [];
items.push(item) items.push(item)