Mercurial > hg > webaudioevaluationtool
diff interfaces/ABX.js @ 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 | a5da95ad84f9 1620cbee9111 |
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) {