mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-06-07 15:22:32 +00:00
fix minor screw up
This commit is contained in:
@@ -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 || "";
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user