Article.pack: dispose of unpacked content properly

master
Andrew Dolgov 5 years ago
parent e17c7e2fb4
commit 0d467973dc

@ -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) {

Loading…
Cancel
Save