aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/dom')
-rw-r--r--webAO/dom/updateBackgroundPreview.ts4
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`,