# HG changeset patch # User www-data # Date 1499268061 -3600 # Node ID 1ea3413a79302934181629fdb3fe7897de838cba # Parent 7c21a0db02e9b25232d4b671f03379e72e34df66# Parent 5d5542e01fe14fdd41284c065927cc6c7394e72d Merge branch 'master' of https://github.com/BrechtDeMan/WebAudioEvaluationTool diff -r 7c21a0db02e9 -r 1ea3413a7930 js/specification.js --- a/js/specification.js Wed Jul 05 15:20:59 2017 +0100 +++ b/js/specification.js Wed Jul 05 16:21:01 2017 +0100 @@ -188,7 +188,7 @@ var attributes = schemaSetup.querySelectorAll('attribute'); for (var i = 0; i < attributes.length; i++) { var name = attributes[i].getAttribute("name"); - if (name === undefined) { + if (name === null) { name = attributes[i].getAttribute("ref"); } if (this[name] !== undefined || attributes[i].getAttribute("use") == "required") {