diff options
Diffstat (limited to 'js/debug.js')
-rw-r--r-- | js/debug.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/js/debug.js b/js/debug.js index 4ff95de..e54d3f1 100644 --- a/js/debug.js +++ b/js/debug.js @@ -5,12 +5,14 @@ $().ready(function() $(this).click(function(){ $.ajax({url: $(this).attr("tgt"), success: function(result){ $("#control_reply").html(result); - }}); + }}); }) }) - + // display svg - var d = atob(document.getElementById("svg_b64").innerHTML); + var d = atob(document.getElementById("svg_b64").innerHTML); $('#svg').append($('<svg width="10000px">'+d+'</svg>')); + d = atob(document.getElementById("original_svg_b64").innerHTML); + $('#original_svg').append($('<svg width="10000px">'+d+'</svg>')); }); |