mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
fix frontend not knowing about always expanded cdm
This commit is contained in:
+2
-2
@@ -164,7 +164,7 @@ function headlines_callback2(transport, feed_cur_page) {
|
||||
} else {
|
||||
if (headlines) {
|
||||
if (headlines_count > 0) {
|
||||
console.warn("adding some more headlines...");
|
||||
console.log("adding some more headlines...");
|
||||
|
||||
var c = $("headlinesList");
|
||||
|
||||
@@ -2088,7 +2088,7 @@ function cdmExpandArticle(id) {
|
||||
|
||||
var old_offset = $("RROW-" + id).offsetTop;
|
||||
|
||||
if (active_post_id && elem) {
|
||||
if (active_post_id && elem && !getInitParam("cdm_expanded")) {
|
||||
Element.hide(elem);
|
||||
Element.show("CEXC-" + active_post_id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user