This commit is contained in:
Devine Lu Linvega 2018-10-11 08:23:22 +12:00
parent c40fd1624d
commit 2bd6bc030e

View File

@ -78,7 +78,7 @@ function Dotgrid (width, height, grid_x, grid_y, block_x, block_y) {
const link = document.createElement('a')
link.setAttribute('href', base64)
link.setAttribute('download', name)
link.dispatchEvent(new MouseEvent(`click`, {bubbles: true, cancelable: true, view: window}));
link.dispatchEvent(new MouseEvent(`click`, { bubbles: true, cancelable: true, view: window }))
}
this.save = function () {