Mercurial > hg > webaudioevaluationtool
diff ape.js @ 205:06b253e9b394
Fixed bug where element comments disabled caused crash on page saving.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Fri, 12 Jun 2015 12:01:14 +0100 |
parents | b0d683510881 |
children | 538322113524 |
line wrap: on
line diff
--- a/ape.js Wed Jun 10 10:13:45 2015 +0100 +++ b/ape.js Fri Jun 12 12:01:14 2015 +0100 @@ -271,9 +271,7 @@ var trackURL = audioHolderObject.hostURL + element.url; var audioObject = audioEngineContext.newTrack(element); - if (commentShow) { - var node = interfaceContext.createCommentBox(audioObject); - } + var node = interfaceContext.createCommentBox(audioObject); // Create a slider per track audioObject.interfaceDOM = new sliderObject(audioObject);