mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-02-26 07:15:19 +08:00
Update rb-page.js
This commit is contained in:
parent
10ac02c12d
commit
3104be55ed
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ $(function () {
|
|||
}
|
||||
})
|
||||
|
||||
$(window).on('resize', () => {
|
||||
$(window).on('resize', function() {
|
||||
$setTimeout(resize_handler, 100, 'resize-window')
|
||||
})
|
||||
})
|
||||
|
@ -156,7 +156,7 @@ var __loadMessages__state = 0
|
|||
var __loadMessages = function () {
|
||||
if (__loadMessages__state === 1) return
|
||||
|
||||
const dest = $('.rb-notifications .content ul').empty()
|
||||
var dest = $('.rb-notifications .content ul').empty()
|
||||
if (dest.find('li').length === 0) {
|
||||
$('<li class="text-center mt-3 mb-3"><i class="zmdi zmdi-refresh zmdi-hc-spin fs-18"></i></li>').appendTo(dest)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue