changeset 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 c73f3540db59
children 2b31f079a70e
files interfaces/AB.js interfaces/horizontal-sliders.css
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
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');
--- a/interfaces/horizontal-sliders.css	Thu Jan 14 15:20:31 2016 +0000
+++ b/interfaces/horizontal-sliders.css	Thu Jan 14 15:37:38 2016 +0000
@@ -112,7 +112,7 @@
 }
 
 input[type=range]::-webkit-slider-runnable-track {
-	width: 8px;
+	height: 8px;
 	cursor: pointer;
 	background: #fff;
 	border-radius: 4px;
@@ -120,7 +120,7 @@
 }
 
 input[type=range]::-moz-range-track {
-	width: 8px;
+	height: 8px;
 	cursor: pointer;
 	background: #fff;
 	border-radius: 4px;