fix the preview

This commit is contained in:
Zutatensuppe 2021-05-04 09:53:57 +02:00
parent 40c6ec0877
commit 9b19f2da74

View file

@ -183,7 +183,7 @@ function addMenuToDom(gameId) {
const imgEl = ELEMENTS.DIV.cloneNode(true)
imgEl.classList.add('img')
imgEl.style.backgroundImage = `url(${previewImageUrl})`
imgEl.style.backgroundImage = `url('${previewImageUrl}')`
previewEl.appendChild(imgEl)
const previewOverlay = ELEMENTS.DIV.cloneNode(true)