Fix: if account is null #102
This commit is contained in:
parent
b12c18aa08
commit
30aee556f1
|
@ -915,6 +915,7 @@ function userparse(obj, auth, acct_id, tlid, popup) {
|
||||||
var datetype = localStorage.getItem("datetype");
|
var datetype = localStorage.getItem("datetype");
|
||||||
Object.keys(obj).forEach(function (key) {
|
Object.keys(obj).forEach(function (key) {
|
||||||
var toot = obj[key];
|
var toot = obj[key];
|
||||||
|
if (toot) {
|
||||||
console.log(["Parsing", toot])
|
console.log(["Parsing", toot])
|
||||||
if (!toot.username) {
|
if (!toot.username) {
|
||||||
var raw = toot;
|
var raw = toot;
|
||||||
|
@ -1028,6 +1029,8 @@ function userparse(obj, auth, acct_id, tlid, popup) {
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'</div>';
|
'</div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
return templete;
|
return templete;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user