fixed favicon backend not really workin
This commit is contained in:
parent
72cbfbab10
commit
4a0738745a
4 changed files with 43 additions and 20 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue