diff interfaces/ordinal.js @ 2847:ed2c8a04b7c4

#141 Minor fixes to ordinal
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Tue, 25 Apr 2017 15:49:36 +0100
parents 64a83c964fae
children 096b7a56ba27 18784c9f44b5
line wrap: on
line diff
--- a/interfaces/ordinal.js	Tue Apr 25 15:47:18 2017 +0100
+++ b/interfaces/ordinal.js	Tue Apr 25 15:49:36 2017 +0100
@@ -383,7 +383,7 @@
         // If there are multiple value nodes (such as multiple scale / 2D scales), return an array of nodes with each value node having an 'interfaceName' attribute
         // Use storage.document.createElement('value'); to generate the XML node.
         var node = storage.document.createElement('value');
-        node.textContent = this.slider.value;
+        node.textContent = this.getValue();
         return node;
 
     };