mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Keep news open for longer
This commit is contained in:
parent
33fc079318
commit
4975cad4fa
1 changed files with 1 additions and 1 deletions
|
@ -3105,7 +3105,7 @@ $(document).ready(function() {
|
|||
if (news_item.subtitle) { content.append(subtitle); }
|
||||
content.append(body);
|
||||
var li = $('<li/>').append(header).append(content)
|
||||
if (index === 0 && Math.abs(now.diff(date, 'days')) < 7) {
|
||||
if (index === 0 && Math.abs(now.diff(date, 'days')) <= 30) {
|
||||
li.addClass('open');
|
||||
content.css('display', 'block');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue