diff interfaces/ABX.js @ 2387:5b755f508e2e

Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool
author Brecht De Man <b.deman@qmul.ac.uk>
date Fri, 20 May 2016 20:18:49 +0200
parents 5b23f2e05207
children 78f2dbe417da
line wrap: on
line diff
--- a/interfaces/ABX.js	Fri May 20 20:17:57 2016 +0200
+++ b/interfaces/ABX.js	Fri May 20 20:18:49 2016 +0200
@@ -10,7 +10,7 @@
 	// Use this to do any one-time page / element construction. For instance, placing any stationary text objects,
 	// holding div's, or setting up any nodes which are present for the entire test sequence
     
-    interfaceContext.insertPoint.innerHTML = null; // Clear the current schema
+    interfaceContext.insertPoint.innerHTML = ""; // Clear the current schema
     
     Interface.prototype.checkScaleRange = function(min, max) {
         var page = testState.getCurrentTestPage();
@@ -126,7 +126,7 @@
 function loadTest(page)
 {
 	// Called each time a new test page is to be build. The page specification node is the only item passed in
-    document.getElementById('box-holders').innerHTML = null;
+    document.getElementById('box-holders').innerHTML = "";
     
     var interfaceObj = page.interfaces;
 	if (interfaceObj.length > 1)