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 = {};