From 0d467973dc6a1b93e267015c3d838ec77b59582e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 17 Apr 2020 15:59:12 +0300 Subject: Article.pack: dispose of unpacked content properly --- js/Article.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/Article.js b/js/Article.js index 9c170598a..36c2aeff5 100644 --- a/js/Article.js +++ b/js/Article.js @@ -192,7 +192,8 @@ define(["dojo/_base/declare"], function (declare) { console.log("packing", row.id); row.setAttribute("data-content", row.getAttribute("data-content-original")); row.removeAttribute("data-content-original"); - row.innerHTML = " "; + + row.querySelector(".content-inner").innerHTML = " "; } }, view: function (id, noexpand) { -- cgit v1.2.3