mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-09-03 17:52:44 +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().css('display', listCurrent.children().length ? 'block' : 'none')
|
||||||
listCurrent.parent().show();
|
listUpcoming.parent().css('display', listUpcoming.children().length ? 'block' : 'none')
|
||||||
if (listUpcoming.children().length)
|
|
||||||
listUpcoming.parent().show();
|
|
||||||
module.find('.refresh').show();
|
module.find('.refresh').show();
|
||||||
module.find('.loading-roller').hide();
|
module.find('.loading-roller').hide();
|
||||||
}, null,
|
}, null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user