Article.pack: dispose of unpacked content properly

This commit is contained in:
Andrew Dolgov 2020-04-17 15:59:12 +03:00
parent e17c7e2fb4
commit 0d467973dc
1 changed files with 2 additions and 1 deletions

View File

@ -192,7 +192,8 @@ define(["dojo/_base/declare"], function (declare) {
console.log("packing", row.id); console.log("packing", row.id);
row.setAttribute("data-content", row.getAttribute("data-content-original")); row.setAttribute("data-content", row.getAttribute("data-content-original"));
row.removeAttribute("data-content-original"); row.removeAttribute("data-content-original");
row.innerHTML = " ";
row.querySelector(".content-inner").innerHTML = " ";
} }
}, },
view: function (id, noexpand) { view: function (id, noexpand) {