Fix issue where local_art couldn't be used for card art

This commit is contained in:
René van Asperen
2024-05-09 00:37:38 +02:00
parent 80e16552cd
commit 997d7d95a1

View File

@@ -4053,6 +4053,9 @@ async function addTextbox(textboxType) {
}
//ART TAB
function uploadArt(imageSource, otherParams) {
if (!imageSource.includes('http')) {
imageSource = '/local_art/' + imageSource;
}
art.src = imageSource;
if (otherParams && otherParams == 'autoFit') {
art.onload = function() {