فهرست منبع

fix bug when note is open and user tries to open non existent note

Daniel Bohry 10 ماه پیش
والد
کامیت
caf12e47f6
1فایلهای تغییر یافته به همراه0 افزوده شده و 9 حذف شده
  1. 0 9
      src/main/resources/static/script.js

+ 0 - 9
src/main/resources/static/script.js

@@ -270,15 +270,6 @@ function showNoteId(id) {
     }
 }
 
-function hideNoteId() {
-    const noteIdDisplay = document.getElementById('noteIdDisplay');
-    if (noteIdDisplay) {
-        noteIdDisplay.style.display = 'none';
-    } else {
-        console.error('Element with ID "noteIdDisplay" not found in hideNoteId');
-    }
-}
-
 async function copyNoteLink() {
     try {
         const noteIdDisplay = document.getElementById('noteIdDisplay');