mirror of
https://github.com/AMNatty/Mastodon-Circles.git
synced 2024-11-21 18:47:26 -07:00
oh gott bin ich blöd
This commit is contained in:
parent
8ac873d481
commit
8d9b8de959
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ function httpRequest(url, callback, callbackVal=null)
|
|||
function downloadImage(){
|
||||
var lnk = document.createElement('a'), e;
|
||||
lnk.download = 'mastodon-circle.png';
|
||||
lnk.href = canvas.toDataURL("image/png;base64");
|
||||
lnk.href = document.getElementById("canvas").toDataURL("image/png;base64");
|
||||
|
||||
if (document.createEvent) {
|
||||
e = document.createEvent("MouseEvents");
|
||||
|
|
Loading…
Reference in a new issue