mirror of
https://github.com/driftywinds/driftywinds.github.io.git
synced 2025-12-19 11:03:32 +00:00
Fix generic app icon path
This commit is contained in:
@@ -64,7 +64,7 @@ export function main(callback, fallbackURL = "../../") {
|
|||||||
// Unable to load image
|
// Unable to load image
|
||||||
image.addEventListener("error", (event) => {
|
image.addEventListener("error", (event) => {
|
||||||
if (event.target.id == "app-icon") {
|
if (event.target.id == "app-icon") {
|
||||||
event.target.src = "img/generic_app.jpeg";
|
event.target.src = `${fallbackURL}common/assets/img/generic_app.jpeg`;
|
||||||
} else event.target.remove()
|
} else event.target.remove()
|
||||||
loaded();
|
loaded();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user