mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
fix: image loading & syze
This commit is contained in:
@@ -3,14 +3,3 @@ import "flowbite";
|
||||
import "./icons";
|
||||
import "./icons-brands";
|
||||
import "./icons-duotone";
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
const images = document.querySelectorAll(".transition-opacity");
|
||||
|
||||
images.forEach((image) => {
|
||||
image.onload = function () {
|
||||
image.style.filter = "blur(0)";
|
||||
image.style.opacity = "1";
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user