corretta la pagina podcast
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user