diff --git a/app/js/tl/announParse.js b/app/js/tl/announParse.js index 8443b9ee..1665c710 100644 --- a/app/js/tl/announParse.js +++ b/app/js/tl/announParse.js @@ -111,7 +111,9 @@ function announReaction(id, acct_id, tlid, del, name) { if (this.status !== 200) { setLog(start, this.status, this.response) } - announ(acct_id, tlid) + setTimeout(function () { + announ(acct_id, tlid) + }, 3000) } } } diff --git a/app/js/tl/tl.js b/app/js/tl/tl.js index 7002fef5..35b37b45 100644 --- a/app/js/tl/tl.js +++ b/app/js/tl/tl.js @@ -1457,7 +1457,7 @@ function announ(acct_id, tlid) { $('.notf-announ_' + acct_id).addClass('hide') } var templete = announParse(json, acct_id, tlid) - $('#announce_' + tlid).html(templete) + $('.announce_' + acct_id).html(templete) jQuery('time.timeago').timeago() todc() } diff --git a/app/js/ui/layout.js b/app/js/ui/layout.js index eb84187a..42f8bbe6 100644 --- a/app/js/ui/layout.js +++ b/app/js/ui/layout.js @@ -423,7 +423,7 @@ function parseColumn(target, dontclose) {