fix for previous changeset that broke expanded mode

master
Andrew Dolgov 4 years ago
parent e8e4fc641e
commit 88a7130d79

@ -278,7 +278,7 @@ const Article = {
}
},
pack: function(row) {
if (row.getAttribute("data-is-packed") != "1" && row.hasClassName("cdm")) {
if (row.getAttribute("data-is-packed") != "1") {
console.log("packing", row.id);
row.setAttribute("data-is-packed", "1");
@ -414,6 +414,8 @@ const Article = {
App.findAll("div[id*=RROW][class*=active]").forEach((row) => {
row.removeClassName("active");
if (App.isCombinedMode() && !App.getInitParam("cdm_expanded"))
Article.pack(row);
});

Loading…
Cancel
Save