changeset 2896:5d5542e01fe1

Merge branch 'vnext'
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Wed, 05 Jul 2017 15:22:30 +0100
parents 84be0f28044d (current diff) 2eec0c37b4cb (diff)
children 1ea3413a7930 231d2186f3fc e936521b1eb0
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/js/specification.js	Wed Jul 05 15:15:34 2017 +0100
+++ b/js/specification.js	Wed Jul 05 15:22:30 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") {