Update 1.html

This commit is contained in:
jagrit007 2025-10-11 19:27:24 +00:00
parent 3b3749fdbf
commit f08b3c7bfe

12
1.html
View File

@ -312,6 +312,18 @@
}
}
});
// Hide notes section if empty or only contains <span></span>
let notesSection = document.querySelector('.notes-section');
if (notesSection) {
let notesContent = notesSection.querySelector('p');
if (notesContent) {
let content = notesContent.innerHTML.trim();
if (content === '' || content === '<span></span>') {
notesSection.style.display = 'none';
}
}
}
});
</script>
</head>