announce unread

This commit is contained in:
cutls 2021-01-09 21:11:09 +09:00
parent 4fbe7218e6
commit 3ad4aca4a7

View File

@ -1453,6 +1453,7 @@ function announ(acct_id, tlid) {
setLog(start, this.status, this.response) setLog(start, this.status, this.response)
} }
if (json.length > 0) { if (json.length > 0) {
localStorage.setItem('announ_' + acct_id, json[0].id)
$('.notf-announ_' + acct_id).removeClass('hide') $('.notf-announ_' + acct_id).removeClass('hide')
var ct = 0 var ct = 0
for (var i = 0; i < json.length; i++) { for (var i = 0; i < json.length; i++) {