magic fest promos

This commit is contained in:
Kyle
2021-02-19 09:40:42 -08:00
parent 4dbfe7aaf9
commit 220647ea55
24 changed files with 51 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ art.onload = artEdited;
setSymbol = new Image(); setSymbol.crossOrigin = 'anonymous'; setSymbol.src = blank.src;
setSymbol.onerror = function() {
if (this.src.includes('gatherer.wizards.com')) {
notify('<a target="_blank" href="http' + this.src.split('http')[2] + '">Loading the set symbol from Gatherer failed. Please check this link to see if it exists. If it does, it may be necessary to manually download and upload the image.</a>', 15);
notify('<a target="_blank" href="http' + this.src.split('http')[2] + '">Loading the set symbol from Gatherer failed. Please check this link to see if it exists. If it does, it may be necessary to manually download and upload the image.</a>', 5);
}
if (!this.src.includes('/img/blank.png')) {this.src = fixUri('/img/blank.png');}
}