diff options
author | Andrew Dolgov <[email protected]> | 2020-04-17 15:59:12 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2020-04-17 15:59:12 +0300 |
commit | 0d467973dc6a1b93e267015c3d838ec77b59582e (patch) | |
tree | 1ef4a9ba6af69ca3166491119f7bb7e92a5af548 | |
parent | e17c7e2fb432f572bcfd2a3ae173f36dd08e1cac (diff) |
Article.pack: dispose of unpacked content properly
-rw-r--r-- | js/Article.js | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |