mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-07-27 05:14:53 -05:00
fixed downloads
This commit is contained in:
@@ -1054,7 +1054,7 @@ function loadSetSymbol() {
|
|||||||
|
|
||||||
//Loads an image from URL
|
//Loads an image from URL
|
||||||
function imageURL(input, URL) {
|
function imageURL(input, URL) {
|
||||||
URL.src = input.value
|
URL.src = "https://cors-anywhere.herokuapp.com/" + input.value
|
||||||
}
|
}
|
||||||
|
|
||||||
//Best for last - downloads the image!
|
//Best for last - downloads the image!
|
||||||
@@ -1065,7 +1065,6 @@ function downloadCardImage(linkElement) {
|
|||||||
}
|
}
|
||||||
linkElement.href = cardImageData
|
linkElement.href = cardImageData
|
||||||
}
|
}
|
||||||
|
|
||||||
//Randomizes the sample cards at the bottom of the page. Runs it here too
|
//Randomizes the sample cards at the bottom of the page. Runs it here too
|
||||||
randomizeSampleCards(3)
|
randomizeSampleCards(3)
|
||||||
function randomizeSampleCards(count) {
|
function randomizeSampleCards(count) {
|
||||||
|
Reference in New Issue
Block a user