changeset 2308:64be32cd1c31

Fix for #42 in ABX
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 28 Apr 2016 16:52:36 +0100
parents 487f3767aca6
children cc7a0102e079 426995e02e79
files interfaces/ABX.js
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/interfaces/ABX.js	Thu Apr 28 16:51:11 2016 +0100
+++ b/interfaces/ABX.js	Thu Apr 28 16:52:36 2016 +0100
@@ -208,8 +208,9 @@
                 $(".comparator-selector").removeClass('selected');
                 for (var i=0; i<interfaceContext.comparator.pair.length; i++)
                 {
-                     var obj = interfaceContext.comparator.pair[i];
+                    var obj = interfaceContext.comparator.pair[i];
                     obj.parent.metric.moved(time,0);
+                    obj.value = 0;
                 }
             } else {
                 $(".comparator-selector").removeClass('selected');