# HG changeset patch # User Nicholas Jillings # Date 1498594289 -3600 # Node ID cd1cd3358544ccebb4abe125ca710d30cfff11f4 # Parent cedaf7ee1b81a26b8ca1b83737a3120a27f1d10c# Parent 446f344eaa50ff970dc6385926f01064199050bb Merge branch 'vnext' into Dev_main diff -r cedaf7ee1b81 -r cd1cd3358544 interfaces/ABX.js --- a/interfaces/ABX.js Tue Jun 27 20:52:07 2017 +0100 +++ b/interfaces/ABX.js Tue Jun 27 21:11:29 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");