fix combined/three panel transition to expandable mode

This commit is contained in:
Andrew Dolgov 2021-05-06 22:27:49 +03:00
parent e8f78181f1
commit d11718c89c
1 changed files with 7 additions and 3 deletions

View File

@ -282,9 +282,13 @@ const Article = {
console.log("packing", row.id); console.log("packing", row.id);
row.setAttribute("data-is-packed", "1"); row.setAttribute("data-is-packed", "1");
row.querySelector(".content-inner").innerHTML = `<div class="text-center text-muted"> const content_inner = row.querySelector(".content-inner");
${__("Loading, please wait...")}
</div>` // 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) { view: function (id, no_expand) {