mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-02-26 15:25:30 +08:00
Update rb-page.js
This commit is contained in:
parent
76262520e8
commit
afc0266fc7
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ var __checkMessage = function () {
|
||||||
if (res.error_code > 0) return
|
if (res.error_code > 0) return
|
||||||
$('.J_notifications-top .badge').text(res.data.unread)
|
$('.J_notifications-top .badge').text(res.data.unread)
|
||||||
if (res.data.unread > 0) $('.J_notifications-top .indicator').removeClass('hide')
|
if (res.data.unread > 0) $('.J_notifications-top .indicator').removeClass('hide')
|
||||||
else $('J_notifications-top .indicator').addClass('hide')
|
else $('.J_notifications-top .indicator').addClass('hide')
|
||||||
|
|
||||||
if (__checkMessage__state !== res.data.unread) __loadMessages__state = 0
|
if (__checkMessage__state !== res.data.unread) __loadMessages__state = 0
|
||||||
__checkMessage__state = res.data.unread
|
__checkMessage__state = res.data.unread
|
||||||
|
|
Loading…
Reference in a new issue