summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-22 17:50:07 +0300
committerAndrew Dolgov <[email protected]>2021-04-22 17:50:07 +0300
commite8e4fc641e3a583e6f81342904e5fb738d855aa6 (patch)
treeae8a33ea0cadd4b7017458ab4ac667b7e1526597 /js
parentdf145c8064a43218def12ed05d1398977f042744 (diff)
Article.pack: add no-op for three panel mode
Diffstat (limited to 'js')
-rw-r--r--js/Article.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Article.js b/js/Article.js
index 3b23d1d59..9a2c71529 100644
--- a/js/Article.js
+++ b/js/Article.js
@@ -278,7 +278,7 @@ const Article = {
}
},
pack: function(row) {
- if (row.getAttribute("data-is-packed") != "1") {
+ if (row.getAttribute("data-is-packed") != "1" && row.hasClassName("cdm")) {
console.log("packing", row.id);
row.setAttribute("data-is-packed", "1");