Small adjustment
This commit is contained in:
@@ -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.";
|
||||
|
||||
Reference in New Issue
Block a user