minor js bug fixes
All checks were successful
publish / publish (push) Successful in 26s

This commit is contained in:
Jannik Menzel 2025-06-08 13:33:16 +02:00
parent 23051eecf0
commit 45ad243706
2 changed files with 16 additions and 0 deletions

View file

@ -61,6 +61,7 @@ window.toggleDetails = function (element) {
function renderFeedEntries(data) {
const container = document.getElementById('feed');
if (!container) return;
container.innerHTML = '';
const isInFeedSection = container.closest('.feed-section') !== null;
let maxItems;