From d11718c89cbac6753a7ae494ee79653c4bf99e03 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 6 May 2021 22:27:49 +0300 Subject: [PATCH] fix combined/three panel transition to expandable mode --- js/Article.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/js/Article.js b/js/Article.js index be06e8f73..a3a75ba21 100644 --- a/js/Article.js +++ b/js/Article.js @@ -282,9 +282,13 @@ const Article = { console.log("packing", row.id); row.setAttribute("data-is-packed", "1"); - row.querySelector(".content-inner").innerHTML = `
- ${__("Loading, please wait...")} -
` + const content_inner = row.querySelector(".content-inner"); + + // missing in unexpanded mode + if (content_inner) + content_inner.innerHTML = `
+ ${__("Loading, please wait...")} +
` } }, view: function (id, no_expand) {