From f5c24ad9c2773e20f7d392dc0b7ce172e2a27e9e Mon Sep 17 00:00:00 2001
From: Kyle <41976328+ImKyle4815@users.noreply.github.com>
Date: Thu, 30 Aug 2018 20:57:33 -0700
Subject: [PATCH] Add files via upload
---
CardForge/CardForge.html | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/CardForge/CardForge.html b/CardForge/CardForge.html
index d408e66f..6b4d7598 100644
--- a/CardForge/CardForge.html
+++ b/CardForge/CardForge.html
@@ -6,7 +6,7 @@
-
+
CardForge
@@ -776,8 +776,7 @@ function toggleVisibility(targetClass, self, selfClass, hiddenClass, shownClass)
//runs the autocrop function for the chosen set symbol
function loadSetSymbol() {
- var setSymbolURL = "http://gatherer.wizards.com/Handlers/Image.ashx?type=symbol&set=" + document.getElementById("setSymbolCode").value + "&size=large&rarity=" + document.getElementById("setSymbolRarity").value
- autocrop(setSymbolURL, imgSetSymbol)
+ imgSetSymbol.src = "https://raw.githubusercontent.com/ImKyle4815/MTG-Set-Symbols/master/setSymbols/" + document.getElementById("setSymbolCode").value.toUpperCase() + "_" + document.getElementById("setSymbolRarity").value.toUpperCase() + ".png"
}