fix errors on export where document body wasn't automatically created
This commit is contained in:
@@ -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');
|
var w = window.open('about:blank');
|
||||||
w.document.write("<title>Export</title>");
|
w.document.write("<title>Export</title>");
|
||||||
|
w.document.write("<body></body>");
|
||||||
w.document.body.innerText += vector_element.outerHTML;
|
w.document.body.innerText += vector_element.outerHTML;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user