mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-09-13 16:03:22 -05:00
Fix issue where local_art couldn't be used for card art
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user