Fix fav and bt errors
This commit is contained in:
parent
2e2723427b
commit
2971144d7f
|
@ -191,7 +191,6 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||||
var times = [];
|
var times = [];
|
||||||
Object.keys(obj).forEach(function (key) {
|
Object.keys(obj).forEach(function (key) {
|
||||||
var toot = obj[key];
|
var toot = obj[key];
|
||||||
|
|
||||||
if (type == "dm") {
|
if (type == "dm") {
|
||||||
var dmid = toot.id;
|
var dmid = toot.id;
|
||||||
toot = toot.last_status;
|
toot = toot.last_status;
|
||||||
|
@ -335,6 +334,7 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||||
}
|
}
|
||||||
var if_notf = 'data-notfIndv="' + acct_id + "_" + toot.id + '" data-notf="' + toot.id + '"';
|
var if_notf = 'data-notfIndv="' + acct_id + "_" + toot.id + '" data-notf="' + toot.id + '"';
|
||||||
var toot = toot.status;
|
var toot = toot.status;
|
||||||
|
var uniqueid = toot.id;
|
||||||
var dis_name = escapeHTML(toot.account.display_name);
|
var dis_name = escapeHTML(toot.account.display_name);
|
||||||
if (toot.account.emojis) {
|
if (toot.account.emojis) {
|
||||||
var actemojick = toot.account.emojis[0];
|
var actemojick = toot.account.emojis[0];
|
||||||
|
@ -384,7 +384,6 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||||
if (toot.account.emojis) {
|
if (toot.account.emojis) {
|
||||||
var actemojick = toot.account.emojis[0];
|
var actemojick = toot.account.emojis[0];
|
||||||
} else {
|
} else {
|
||||||
var uniqueid = toot.id;
|
|
||||||
var actemojick = false;
|
var actemojick = false;
|
||||||
}
|
}
|
||||||
//絵文字があれば
|
//絵文字があれば
|
||||||
|
|
Loading…
Reference in New Issue
Block a user