change StartMenu
This commit is contained in:
parent
3ad4aca4a7
commit
f12f9ed047
|
@ -73,9 +73,9 @@ function verck(ver, jp) {
|
|||
}
|
||||
var platform = localStorage.getItem('platform')
|
||||
console.log('Your platform:' + platform)
|
||||
if (!localStorage.getItem('winstore') && !pwa) {
|
||||
$('#start').css('display', 'flex')
|
||||
}
|
||||
//if (!localStorage.getItem('winstore') && !pwa) {
|
||||
// $('#start').css('display', 'flex')
|
||||
//}
|
||||
if (
|
||||
localStorage.getItem('winstore') == 'brewcask' ||
|
||||
localStorage.getItem('winstore') == 'snapcraft' ||
|
||||
|
|
|
@ -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')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user