changeset 2936:03c166698eab

Fix #229
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 12 Sep 2017 14:02:06 +0100
parents 0dd44ca5d062
children 8bcba5c95656
files interfaces/ABX.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/interfaces/ABX.js	Mon Sep 11 17:52:03 2017 +0100
+++ b/interfaces/ABX.js	Tue Sep 12 14:02:06 2017 +0100
@@ -298,8 +298,8 @@
         };
         this.stopPlayback = function () {
             if (this.playback.getAttribute("playstate") == "playing") {
-                $('.comparator-button').text('Listen');
-                $('.comparator-button').removeAttr("disabled");
+                $(this.playback).text('Listen');
+                $(this.playback).removeAttr("disabled");
                 this.playback.setAttribute("playstate", "ready");
             }
             var box = interfaceContext.commentBoxes.boxes.find(function (a) {