From f08b3c7bfef66670e0793bd75c36ba56281396bf Mon Sep 17 00:00:00 2001 From: jagrit007 Date: Sat, 11 Oct 2025 19:27:24 +0000 Subject: [PATCH] Update 1.html --- 1.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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'; + } + } + } });