Merge pull request #2 from lyninx/master
fix errors on export where document body wasn't automatically created
This commit is contained in:
commit
42c043afc0
@ -211,6 +211,7 @@ function Dotgrid(width,height,grid_x,grid_y,block_x,block_y,thickness = 3,lineca
|
||||
{
|
||||
var w = window.open('about:blank');
|
||||
w.document.write("<title>Export</title>");
|
||||
w.document.write("<body></body>");
|
||||
w.document.body.innerText += vector_element.outerHTML;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user