#317 announcement bug

This commit is contained in:
cutls
2020-09-04 23:54:49 +09:00
parent bec4444388
commit 4df390713c
3 changed files with 5 additions and 3 deletions

View File

@@ -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)
}
}
}

View File

@@ -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()
}