From e8e4fc641e3a583e6f81342904e5fb738d855aa6 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <noreply@fakecake.org>
Date: Thu, 22 Apr 2021 17:50:07 +0300
Subject: [PATCH] Article.pack: add no-op for three panel mode

---
 js/Article.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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");
 
-- 
GitLab