fix minor screw up

This commit is contained in:
MathMan05
2026-03-03 14:47:41 -06:00
parent 102dc6573b
commit 47469ac4e6
+2 -2
View File
@@ -788,11 +788,11 @@ export function createImg(
src = nsrc;
staticsrc = nstaticsrc;
if (src) {
isAnimated(src).then((animated) => {
isAnimated(src).then(async (animated) => {
if (animated) {
img.crossOrigin = "anonymous";
}
img.src = settings !== "always" ? staticsrc || src || "" : src || "";
img.src = (await aniOpt) !== "always" ? staticsrc || src || "" : src || "";
});
}
},