comparison interfaces/AB.js @ 2504:642dc3224962

Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool
author www-data <www-data@sucuk.dcs.qmul.ac.uk>
date Wed, 21 Sep 2016 13:21:06 +0100
parents 42abe6eddfb5
children 464c6c6692d6 249a1152e525
comparison
equal deleted inserted replaced
2497:4d8b4f60f589 2504:642dc3224962
327 this.startPlayback = function() 327 this.startPlayback = function()
328 { 328 {
329 if (this.parent.specification.parent.playOne || specification.playOne) { 329 if (this.parent.specification.parent.playOne || specification.playOne) {
330 $('.comparator-button').text('Wait'); 330 $('.comparator-button').text('Wait');
331 $('.comparator-button').attr("disabled","true"); 331 $('.comparator-button').attr("disabled","true");
332 $(this.playback).css("disabled","false"); 332 $(this.playback).removeAttr("disabled");
333 } else { 333 } else {
334 $('.comparator-button').text('Listen'); 334 $('.comparator-button').text('Listen');
335 } 335 }
336 $(this.playback).text('Stop'); 336 $(this.playback).text('Stop');
337 this.playback.setAttribute("playstate","playing"); 337 this.playback.setAttribute("playstate","playing");