cross-origin hotfix

This commit is contained in:
Kyle
2021-07-17 21:05:30 -07:00
parent df8e119189
commit 1761736168
6 changed files with 49 additions and 45 deletions

View File

@@ -35,9 +35,9 @@ if (!loadedVersions.includes('/js/frames/versionSaga.js')) {
}
document.querySelector('#creator-menu-sections').appendChild(newHTML);
var sagaChapter = new Image();
sagaChapter.src = fixUri('/img/frames/saga/sagaChapter.png');
setImageUrl(sagaChapter, '/img/frames/saga/sagaChapter.png');
var sagaDivider = new Image();
sagaDivider.src = fixUri('/img/frames/saga/sagaDivider.png');
setImageUrl(sagaDivider, '/img/frames/saga/sagaDivider.png');
sagaChapter.onload = sagaDivider.onload = sagaEdited;
fixSagaInputs(sagaEdited);
}