Mercurial > hg > webaudioevaluationtool
comparison js/core.js @ 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 | 309ed146c2e6 172c76d9414b |
comparison
equal
deleted
inserted
replaced
2491:2305ef6779fe | 2492:f0b0809c7ee5 |
---|---|
1067 this.currentIndex++; | 1067 this.currentIndex++; |
1068 if (this.currentIndex < this.popupOptions.length) { | 1068 if (this.currentIndex < this.popupOptions.length) { |
1069 this.postNode(); | 1069 this.postNode(); |
1070 } else { | 1070 } else { |
1071 // Reached the end of the popupOptions | 1071 // Reached the end of the popupOptions |
1072 this.popupContent.innerHTML = ""; | |
1072 this.hidePopup(); | 1073 this.hidePopup(); |
1073 for (var node of this.popupOptions) | 1074 for (var node of this.popupOptions) |
1074 { | 1075 { |
1075 this.store.postResult(node); | 1076 this.store.postResult(node); |
1076 } | 1077 } |