Mercurial > hg > webaudioevaluationtool
changeset 1114:9ef7a5b1be07
Bug #1590 Fix
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Mon, 22 Feb 2016 12:27:53 +0000 |
parents | 9ee921c8cdd3 |
children | 47bfd9594617 |
files | test_create/test_core.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test_create/test_core.js Mon Feb 22 12:19:43 2016 +0000 +++ b/test_create/test_core.js Mon Feb 22 12:27:53 2016 +0000 @@ -1182,9 +1182,9 @@ obj.text.textContent = checkText.children[i].textContent; metric.children.push(obj); metric.childrenDOM.appendChild(obj.root); - for (var i=0; i<specification.metrics.enabled.length; i++) + for (var j=0; j<specification.metrics.enabled.length; j++) { - if (specification.metrics.enabled[i] == obj.name) + if (specification.metrics.enabled[j] == obj.name) { obj.input.checked = true; break;