diff interfaces/AB.js @ 478:bc343b3f4cce Dev_main

Minor fixes for OSX Firefox support (Firefox 43)
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Thu, 14 Jan 2016 15:37:38 +0000
parents 1330c77d212c
children 92f26057b934
line wrap: on
line diff
--- a/interfaces/AB.js	Thu Jan 14 15:20:31 2016 +0000
+++ b/interfaces/AB.js	Thu Jan 14 15:37:38 2016 +0000
@@ -137,7 +137,7 @@
 		this.playback.textContent = "Listen";
 		this.box.appendChild(this.selector);
 		this.box.appendChild(this.playback);
-		this.selector.onclick = function()
+		this.selector.onclick = function(event)
 		{
 			var time = audioEngineContext.timer.getTestTime();
 			if ($(event.currentTarget).hasClass('disabled'))
@@ -167,7 +167,7 @@
 			}
 			console.log("Selected "+id+' ('+time+')');
 		};
-		this.playback.onclick = function()
+		this.playback.onclick = function(event)
 		{
 			$('.comparitor-button').text('Listen');
 			var id = event.currentTarget.parentElement.getAttribute('track-id');