mirror of
https://github.com/driftywinds/driftywinds.github.io.git
synced 2025-12-19 11:03:32 +00:00
Improve error handling
This commit is contained in:
@@ -46,7 +46,7 @@ export function main(callback, fallbackURL = "../../") {
|
|||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
alert(error);
|
alert(error);
|
||||||
open(fallbackURL);
|
open(`${fallbackURL}?source=${sourceURL}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
function waitForAllImagesToLoad() {
|
function waitForAllImagesToLoad() {
|
||||||
|
|||||||
Reference in New Issue
Block a user