changeset 2492:f0b0809c7ee5

Correctly destroy popup nodes once survey completed.
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 25 Aug 2016 10:50:00 +0100
parents 2305ef6779fe
children 09936f12f885 8be11a6d8b59 9c167c0d6c26
files js/core.js
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/js/core.js	Thu Aug 25 10:45:10 2016 +0100
+++ b/js/core.js	Thu Aug 25 10:50:00 2016 +0100
@@ -1069,6 +1069,7 @@
 			this.postNode();
 		} else {
 			// Reached the end of the popupOptions
+            this.popupContent.innerHTML = "";
 			this.hidePopup();
 			for (var node of this.popupOptions)
 			{