Mercurial > hg > webaudioevaluationtool
changeset 2648:781187c743cc
#9 Clear node on each postNode event
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Thu, 19 Jan 2017 15:51:49 +0000 |
parents | 83ae42eab960 |
children | 8f3ea7ce794b |
files | js/core.js |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/js/core.js Thu Jan 19 15:50:36 2017 +0000 +++ b/js/core.js Thu Jan 19 15:51:49 2017 +0000 @@ -638,6 +638,7 @@ converter = new showdown.Converter(), p = new DOMParser(); this.popupResponse.innerHTML = ""; + this.popupTitle.innerHTML = ""; this.popupTitle.appendChild(p.parseFromString(converter.makeHtml(node.specification.statement), "text/html").getElementsByTagName("body")[0].firstElementChild); if (node.specification.type == 'question') { var textArea = document.createElement('textarea');