Browse Source

use Tool.svg

dev_h
DanielHabenicht 4 years ago
parent
commit
cf981aa358
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      client-data/tools/download/download.js

+ 1
- 1
client-data/tools/download/download.js View File

@@ -27,7 +27,7 @@
27 27
 (function download() { //Code isolation
28 28
 
29 29
     function downloadSVGFile(evt) {
30
-        var canvasCopy = document.getElementById('canvas').cloneNode(true);
30
+        var canvasCopy = Tools.svg.cloneNode(true);
31 31
         var styleNode = document.createElement("style");
32 32
         styleNode.innerHTML = "rect, ellipse { fill:none; } path, line {fill: none;stroke-linecap: round; stroke-linejoin: round;}";
33 33
         canvasCopy.appendChild(styleNode);

Loading…
Cancel
Save