From 8e5dbfdf9bb66fc1682b7bd673f63245dd007424 Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Sun, 22 Dec 2013 19:46:01 +0100 Subject: [PATCH] + --- app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app.js b/app.js index 8b27a68e8..cf44a51cb 100644 --- a/app.js +++ b/app.js @@ -411,6 +411,7 @@ function dump(elem, filename){ */ // my download button function dump(elem, filename){ + elem = elem.parentNode; elem.download = filename || 'xmpplog.json'; elem.href = 'data:application/json;charset=utf-8,\n'; var data = {};