mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-26 21:04:58 -05:00
Update index.html
This commit is contained in:
@@ -870,7 +870,7 @@ function loadSetSymbol() {
|
|||||||
|
|
||||||
//Best for last - downloads the image!
|
//Best for last - downloads the image!
|
||||||
function downloadCardImage(el) {
|
function downloadCardImage(el) {
|
||||||
alert("This may not work because the canvas is 'tainted' - if you know how to avoid this please tell me :)")
|
alert("This may not work because the canvas is 'tainted' - if you know how to avoid this please tell me")
|
||||||
var cardImageData = canvas.toDataURL("image/jpg")
|
var cardImageData = canvas.toDataURL("image/jpg")
|
||||||
el.href = cardImageData
|
el.href = cardImageData
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user