fixed favicon backend not really workin

This commit is contained in:
partisan 2025-05-07 09:40:22 +02:00
parent 72cbfbab10
commit 4a0738745a
4 changed files with 43 additions and 20 deletions

View file

@ -2,6 +2,9 @@
(function() {
// Add loading effects to image and title
function addLoadingEffects(imgElement) {
const container = imgElement.closest('.image');
if (!container) return; // avoid null dereference
const title = imgElement.closest('.image').querySelector('.img_title');
imgElement.classList.add('loading-image');
title.classList.add('title-loading');