From 27a6ab1ac9aef8ecdb9d9de0fb4732239eefe703 Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Sun, 22 Dec 2013 19:46:01 +0100 Subject: [PATCH] + --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 6155df165..b693acf11 100644 --- a/app.js +++ b/app.js @@ -361,8 +361,8 @@ $(window).bind('unload', function () { } }); -// 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 = {};