mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 21:25:55 +00:00
add a hack to prevent loading of stuff for hidden content in unexpanded combined mode (refs #602)
This commit is contained in:
@@ -1365,13 +1365,21 @@ function cdmExpandArticle(id) {
|
||||
}
|
||||
|
||||
setActiveArticleId(id);
|
||||
cdmScrollToArticleId(id, true);
|
||||
|
||||
elem = $("CICD-" + id);
|
||||
|
||||
var collapse = $$("div#RROW-" + id +
|
||||
" span[class='collapseBtn']")[0];
|
||||
|
||||
var cencw = $("CENCW-" + id);
|
||||
|
||||
if (!Element.visible(elem)) {
|
||||
if (cencw) {
|
||||
cencw.innerHTML = htmlspecialchars_decode(cencw.innerHTML);
|
||||
cencw.setAttribute('id', '');
|
||||
}
|
||||
|
||||
Element.show(elem);
|
||||
Element.hide("CEXC-" + id);
|
||||
Element.show(collapse);
|
||||
|
||||
Reference in New Issue
Block a user