Mercurial > hg > webaudioevaluationtool
diff core.js @ 1045:cb060b4e73c4
Bug #1303 fixed. New function on page creation to destroy old commentQuestion objects.
author | Nicholas Jillings <nicholas.jillings@eecs.qmul.ac.uk> |
---|---|
date | Thu, 25 Jun 2015 16:37:51 +0100 |
parents | dc531fbf64c3 |
children | e74327737152 |
line wrap: on
line diff
--- a/core.js Sat Jun 20 16:57:06 2015 +0100 +++ b/core.js Thu Jun 25 16:37:51 2015 +0100 @@ -1839,7 +1839,7 @@ this.deleteCommentBoxes = function() { this.commentBoxes = []; - } + }; this.createCommentQuestion = function(element) { var node; @@ -1854,6 +1854,11 @@ return node; }; + this.deleteCommentQuestions = function() + { + this.commentQuestions = []; + }; + this.playhead = new function() { this.object = document.createElement('div');