diff options
author | Andrew Dolgov <[email protected]> | 2021-05-06 22:27:49 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-05-06 22:27:49 +0300 |
commit | d11718c89cbac6753a7ae494ee79653c4bf99e03 (patch) | |
tree | 62d7237691b1f642089eca6de66694dcd7ca0694 /js/Article.js | |
parent | e8f78181f1d5a78fcfb58f0a43fb162504fa8e60 (diff) |
fix combined/three panel transition to expandable mode
Diffstat (limited to 'js/Article.js')
-rw-r--r-- | js/Article.js | 10 |
1 files 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 = `<div class="text-center text-muted"> - ${__("Loading, please wait...")} - </div>` + const content_inner = row.querySelector(".content-inner"); + + // missing in unexpanded mode + if (content_inner) + content_inner.innerHTML = `<div class="text-center text-muted"> + ${__("Loading, please wait...")} + </div>` } }, view: function (id, no_expand) { |