summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-11 20:25:13 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-11 20:25:13 -0800
commitd307c3eb1b9ff81d929755ac293ad50ef49c6a74 (patch)
treee2e9f91506c4bf839f5547bcf4d8f93392576e61 /js
parent0905b173c63f902e6d7b51c948c8110e398a3742 (diff)
Fixed url -> destination in xml.js.
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]);