Mercurial > hg > webaudioevaluationtool
changeset 2888:446f344eaa50
Merge branch 'hot_fix' into vnext
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Tue, 27 Jun 2017 21:11:15 +0100 |
parents | 033027759cf7 (current diff) ba5fa3d30123 (diff) |
children | cd1cd3358544 |
files | |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/interfaces/ABX.js Mon Jun 26 11:59:39 2017 +0100 +++ b/interfaces/ABX.js Tue Jun 27 21:11:15 2017 +0100 @@ -238,9 +238,9 @@ $(".comparator-selector").removeClass('selected'); $(this.selector).addClass('selected'); interfaceContext.comparator.pair.forEach(function (obj) { - obj.value = 1.0 * obj === this; + obj.value = 1.0 * (obj === this); obj.parent.metric.moved(time, obj.value); - }); + }, this); console.log("Selected " + this.id + ' (' + time + ')'); }; this.playback.setAttribute("playstate", "ready");