From 4e51d075e130dcd89c2d58927d50e776507b3a28 Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Sun, 21 Apr 2019 18:29:38 -0700 Subject: [PATCH] Update main.js --- data/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/main.js b/data/main.js index a5d0951e..59c6b97f 100644 --- a/data/main.js +++ b/data/main.js @@ -820,7 +820,7 @@ function toggleView(targetId, targetClass) { //Downloads the image! function downloadCardImage(linkElement) { - linkElement.download = document.getElementById("inputName").value + ".png" + linkElement.download = document.getElementById("inputName").value.toLowerCase() + ".png" var cardImageData = cardCanvas.toDataURL() if (cardImageData == undefined) { alert("Sorry, it seems that you cannot download your card. Please try using a different browser/device.")