summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-04-17 15:59:12 +0300
committerAndrew Dolgov <[email protected]>2020-04-17 15:59:12 +0300
commit0d467973dc6a1b93e267015c3d838ec77b59582e (patch)
tree1ef4a9ba6af69ca3166491119f7bb7e92a5af548 /js
parente17c7e2fb432f572bcfd2a3ae173f36dd08e1cac (diff)
Article.pack: dispose of unpacked content properly
Diffstat (limited to 'js')
-rw-r--r--js/Article.js3
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 = "&nbsp;";
+
+ row.querySelector(".content-inner").innerHTML = "&nbsp;";
}
},
view: function (id, noexpand) {