corretta la pagina podcast

This commit is contained in:
2026-06-24 21:39:19 +02:00
parent 91481768fb
commit 84555874a4
3 changed files with 7 additions and 3 deletions
+4
View File
@@ -998,6 +998,7 @@ document.addEventListener('DOMContentLoaded', function () {
const detail = document.getElementById('podcast-detail');
const iframe = document.getElementById('podcast-iframe');
const homeNav = document.getElementById('home-navigation');
const podNav = document.getElementById('podcast-header');
const scrollContainer = document.querySelector('main');
if (!list || !detail || !iframe) {
@@ -1009,6 +1010,7 @@ document.addEventListener('DOMContentLoaded', function () {
iframe.src = url;
// Cambio vista
podNav.style.display = 'none';
list.style.display = 'none';
detail.style.display = 'block';
if (homeNav) homeNav.style.display = 'none';
@@ -1026,6 +1028,7 @@ document.addEventListener('DOMContentLoaded', function () {
const list = document.getElementById('podcast-list');
const detail = document.getElementById('podcast-detail');
const iframe = document.getElementById('podcast-iframe');
const podNav = document.getElementById('podcast-header');
const homeNav = document.getElementById('home-navigation');
if (!list || !detail || !iframe) return;
@@ -1034,6 +1037,7 @@ document.addEventListener('DOMContentLoaded', function () {
iframe.src = 'about:blank';
// Cambio vista
podNav.style.display = 'block';
list.style.display = 'block';
detail.style.display = 'none';
if (homeNav) homeNav.style.display = 'block';