diff --git a/frontend/app.js b/frontend/app.js index 29240e4..d2c4a4d 100644 --- a/frontend/app.js +++ b/frontend/app.js @@ -173,7 +173,7 @@ function noteApp() { // Ctrl/Cmd + Alt + N for new note if ((e.ctrlKey || e.metaKey) && e.altKey && e.key === 'n') { e.preventDefault(); - this.createNewNote(); + this.createNote(); } // Ctrl/Cmd + Z for undo @@ -1280,20 +1280,6 @@ function noteApp() { } }, - // ===================================================== - // LEGACY WRAPPER FUNCTIONS (for backward compatibility) - // ===================================================== - - // Create a new note (calls unified function) - async createNewNote() { - await this.createNote(''); - }, - - // Create a new folder (calls unified function) - async createNewFolder(parentPath = '') { - await this.createFolder(parentPath); - }, - // Rename a folder async renameFolder(folderPath, currentName) { const newName = prompt(`Rename folder "${currentName}" to:`, currentName); @@ -1379,11 +1365,6 @@ function noteApp() { } }, - // Create note in specific folder (calls unified function) - async createNoteInFolder(folderPath) { - await this.createNote(folderPath); - }, - // Auto-save with debounce autoSave() { if (this.saveTimeout) { diff --git a/frontend/index.html b/frontend/index.html index ccc0a3f..9c97270 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -972,7 +972,7 @@