# HG changeset patch # User Nicholas Jillings # Date 1449831981 0 # Node ID be470e2c4f776607213c319b2a6938cb2525c4c1 # Parent 1e176e95ef33b10a2f26888e8c63a66ffb0461c1 Bug #1482: Reference is red for APE. diff -r 1e176e95ef33 -r be470e2c4f77 ape.css --- a/ape.css Fri Dec 11 10:22:27 2015 +0000 +++ b/ape.css Fri Dec 11 11:06:21 2015 +0000 @@ -66,7 +66,7 @@ -webkit-user-select: none; } -div#outside-reference { +div.outside-reference { width:120px; padding-left: 55px; margin-left: 100px; diff -r 1e176e95ef33 -r be470e2c4f77 ape.js --- a/ape.js Fri Dec 11 10:22:27 2015 +0000 +++ b/ape.js Fri Dec 11 11:06:21 2015 +0000 @@ -383,6 +383,7 @@ if (audioHolderObject.outsideReference != null) { var outsideReferenceHolder = document.createElement('div'); outsideReferenceHolder.id = 'outside-reference'; + outsideReferenceHolder.className = 'outside-reference'; outsideReferenceHolderspan = document.createElement('span'); outsideReferenceHolderspan.textContent = 'Reference'; outsideReferenceHolder.appendChild(outsideReferenceHolderspan); @@ -535,7 +536,7 @@ var pixelPosition = (position*width)+marginsize; scaleObj.style.left = Math.floor((pixelPosition-($(scaleObj).width()/2)))+'px'; } - } + }; } function sliderObject(audioObject,interfaceObjects) { diff -r 1e176e95ef33 -r be470e2c4f77 example_eval/project.xml --- a/example_eval/project.xml Fri Dec 11 10:22:27 2015 +0000 +++ b/example_eval/project.xml Fri Dec 11 11:06:21 2015 +0000 @@ -1,6 +1,6 @@ - + Please enter your name. This is an example of an 'APE'-style test, with two pages, using the test stimuli in 'example_eval/'.