diff options
| author | stonedDiscord <Tukz@gmx.de> | 2025-09-03 10:29:13 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2025-09-03 10:29:13 +0200 |
| commit | 1ba59be463abe60448b0eb7da157251c393c0590 (patch) | |
| tree | 4568f364d7ae863970d9c69fceac88e72e9cbbc0 /webAO/dom | |
| parent | e58dcb7186bb3c80ba87279a6643fcb4b8b3b2be (diff) | |
bgurls
Diffstat (limited to 'webAO/dom')
| -rw-r--r-- | webAO/dom/updateBackgroundPreview.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/dom/updateBackgroundPreview.ts b/webAO/dom/updateBackgroundPreview.ts index 61eec58..61186e0 100644 --- a/webAO/dom/updateBackgroundPreview.ts +++ b/webAO/dom/updateBackgroundPreview.ts @@ -1,5 +1,5 @@ import { AO_HOST } from "../client/aoHost"; -import tryUrls from "../utils/tryUrls"; +import tryBackgroundUrls from "../utils/tryBackgroundUrls"; /** * Update background preview. @@ -20,7 +20,7 @@ export function updateBackgroundPreview() { } else { background_filename.style.display = "none"; } - tryUrls( + tryBackgroundUrls( `${AO_HOST}background/${encodeURI( background_select.value.toLowerCase(), )}/defenseempty`, |
