summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/lib/xml.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/xml.js b/js/lib/xml.js
index ea98d82..69db60d 100644
--- a/js/lib/xml.js
+++ b/js/lib/xml.js
@@ -110,8 +110,8 @@ var renderNodes = function(block) {
if (node.level) {
attrs.push(['level', String(node.level)]);
}
- if (node.url) {
- attrs.push(['url', node.url]);
+ if (node.destination) {
+ attrs.push(['destination', node.destination]);
}
if (node.title) {
attrs.push(['title', node.title]);