mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
make a separate headline button to collapse current article in
unexpanded cdm mode; modify a q hotkey to collapse article in unexpanded mode and dismiss article in expanded mode
This commit is contained in:
@@ -548,6 +548,10 @@ class Feeds extends Handler_Protected {
|
||||
|
||||
$reply['content'] .= $labels_str;
|
||||
|
||||
$reply['content'] .= "<span class='collapseBtn' style='display : none'>
|
||||
<img src=\"images/collapse.png\" onclick=\"cdmCollapseArticle(event, $id)\"
|
||||
title=\"".__("Collapse article")."\"/></span>";
|
||||
|
||||
if (!$expand_cdm)
|
||||
$content_hidden = "style=\"display : none\"";
|
||||
else
|
||||
@@ -555,7 +559,6 @@ class Feeds extends Handler_Protected {
|
||||
|
||||
$reply['content'] .= "<span $excerpt_hidden
|
||||
id=\"CEXC-$id\" class=\"cdmExcerpt\"> - $content_preview</span>";
|
||||
|
||||
$reply['content'] .= "</span>";
|
||||
|
||||
if (!get_pref($this->link, 'VFEED_GROUP_BY_FEED')) {
|
||||
|
||||
Reference in New Issue
Block a user