From d307c3eb1b9ff81d929755ac293ad50ef49c6a74 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Sun, 11 Jan 2015 20:25:13 -0800
Subject: Fixed url -> destination in xml.js.

---
 js/lib/xml.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'js')

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]);
-- 
cgit v1.2.3