Skip to content

Commit

Permalink
Allow reas-as-scroll in important view (#5906)
Browse files Browse the repository at this point in the history
And within a single feed
See #5782 (comment)
  • Loading branch information
Alkarex committed Dec 3, 2023
1 parent 969758a commit 8c18dc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/index/normal.phtml
Expand Up @@ -15,6 +15,7 @@ $hidePosts = !FreshRSS_Context::$user_conf->display_posts;
$lazyload = FreshRSS_Context::$user_conf->lazyload;
$content_width = FreshRSS_Context::$user_conf->content_width;
$MAX_TAGS_DISPLAYED = FreshRSS_Context::$user_conf->show_tags_max;
$useKeepUnreadImportant = !FreshRSS_Context::isImportant() && !FreshRSS_Context::isFeed();

$today = @strtotime('today');
?>
Expand Down Expand Up @@ -67,7 +68,7 @@ $today = @strtotime('today');
}
?><div class="flux<?= !$this->entry->isRead() ? ' not_read' : ''
?><?= $this->entry->isFavorite() ? ' favorite' : ''
?><?= $this->feed->priority() >= FreshRSS_Feed::PRIORITY_IMPORTANT ? ' keep_unread ' : ''
?><?= $useKeepUnreadImportant && ($this->feed->priority() >= FreshRSS_Feed::PRIORITY_IMPORTANT) ? ' keep_unread ' : ''
?>" id="flux_<?= $this->entry->id()
?>" data-feed="<?= $this->feed->id()
?>" data-priority="<?= $this->feed->priority()
Expand Down

0 comments on commit 8c18dc1

Please sign in to comment.