diff --git a/js/playfield.js b/js/playfield.js index 6051de7..e6a6103 100644 --- a/js/playfield.js +++ b/js/playfield.js @@ -255,7 +255,7 @@ function makeCard(cardNum) { card.style.backgroundPositionY = -Math.floor(cardNum/deckWidth) * parseInt(style.getPropertyValue("height")) + "px"; let faceURI = encodeURI(deckJSON.CustomDeck[deckNum].FaceURL); - card.style.backgroundImage = `url(${faceURI})`; + card.style.backgroundImage = `url("${faceURI}")`; card.style.backgroundSize = `${deckWidth * 100}% ${deckHeight * 100}%`; document.body.removeChild(card);