mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-12 16:07:59 +00:00
hiding lists in twistday reminder module which have no items
This commit is contained in:
parent
021bbe2d43
commit
b8644a0639
@ -306,10 +306,8 @@ function refreshTwistdayReminder() {
|
||||
}
|
||||
}
|
||||
|
||||
if (listCurrent.children().length)
|
||||
listCurrent.parent().show();
|
||||
if (listUpcoming.children().length)
|
||||
listUpcoming.parent().show();
|
||||
listCurrent.parent().css('display', listCurrent.children().length ? 'block' : 'none')
|
||||
listUpcoming.parent().css('display', listUpcoming.children().length ? 'block' : 'none')
|
||||
module.find('.refresh').show();
|
||||
module.find('.loading-roller').hide();
|
||||
}, null,
|
||||
|
Loading…
Reference in New Issue
Block a user