# HG changeset patch # User www-data # Date 1498594935 -3600 # Node ID e61531ce764f4a50ab76564b1da5508b63d53d67 # Parent 9675c2cf79b2f0373e0ce050b7e8fbe65cc63e0e# Parent ba5fa3d301235251ec4904d3387495c08aa14a33 Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool diff -r 9675c2cf79b2 -r e61531ce764f interfaces/ABX.js --- a/interfaces/ABX.js Mon Jun 26 12:21:06 2017 +0100 +++ b/interfaces/ABX.js Tue Jun 27 21:22: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");