Small adjustment

This commit is contained in:
2025-10-31 13:47:28 +01:00
parent 0746ecd3d1
commit 7aed6e5707

View File

@@ -63,7 +63,7 @@
</div>
<script>
const defaultRssUrl = "https://thecafeterium.com/feed"; // Default theCafeterium news feed
const defaultRssUrl = "https://thecafeterium.com/feed/"; // Default theCafeterium news feed
function fetchRssFeed(rssUrl) {
console.log('Fetching RSS feed:', rssUrl);
@@ -102,7 +102,7 @@
tickerContent.style.animationDuration = `${animationDuration}s`;
tickerContent.style.animation = 'none'; // Reset animation
void tickerContent.offsetWidth; // Trigger reflow
tickerContent.style.animation = 'ticker-scroll ${animationDuration}s linear infinite';
tickerContent.style.animation = `ticker-scroll ${animationDuration}s linear infinite`;
} else {
document.getElementById('ticker-content').textContent = "No headlines found in feed.";