change StartMenu
This commit is contained in:
@@ -1453,7 +1453,6 @@ function announ(acct_id, tlid) {
|
||||
setLog(start, this.status, this.response)
|
||||
}
|
||||
if (json.length > 0) {
|
||||
localStorage.setItem('announ_' + acct_id, json[0].id)
|
||||
$('.notf-announ_' + acct_id).removeClass('hide')
|
||||
var ct = 0
|
||||
for (var i = 0; i < json.length; i++) {
|
||||
@@ -1465,6 +1464,8 @@ function announ(acct_id, tlid) {
|
||||
if (ct > 0) {
|
||||
$('.notf-announ_' + acct_id + '_ct').text(ct)
|
||||
}
|
||||
|
||||
localStorage.setItem('announ_' + acct_id, json[0].id)
|
||||
} else {
|
||||
$('.notf-announ_' + acct_id).addClass('hide')
|
||||
}
|
||||
|
Reference in New Issue
Block a user