diff --git a/1.html b/1.html index a26014d..cbaf3b7 100644 --- a/1.html +++ b/1.html @@ -312,6 +312,18 @@ } } }); + + // Hide notes section if empty or only contains + let notesSection = document.querySelector('.notes-section'); + if (notesSection) { + let notesContent = notesSection.querySelector('p'); + if (notesContent) { + let content = notesContent.innerHTML.trim(); + if (content === '' || content === '') { + notesSection.style.display = 'none'; + } + } + } });