Remove mobile notes close button

This commit is contained in:
pewdiepie-archdaemon
2026-06-02 07:00:40 +09:00
parent b7477d063a
commit 7f9afe75e2
2 changed files with 0 additions and 16 deletions
-8
View File
@@ -1127,7 +1127,6 @@ export function openPanel() {
<span class="notes-header-btn-label">Toggle</span>
</button>
<button id="notes-minimize-btn" class="modal-minimize-btn" title="Minimize" aria-label="Minimize notes" style="position:relative;left:2px;"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3.4" stroke-linecap="round" aria-hidden="true"><line x1="6" y1="18" x2="18" y2="18"/></svg></button>
<button id="notes-close-btn" class="close-btn" title="Close" aria-label="Close notes">×</button>
</div>
<div class="notes-search-bar">
<input type="text" id="notes-search" class="memory-search-input" placeholder="Search notes…" autocomplete="off" />
@@ -1190,13 +1189,6 @@ export function openPanel() {
e.stopPropagation();
closePanel('down');
});
const closeBtn = document.getElementById('notes-close-btn');
if (closeBtn) closeBtn.addEventListener('click', (e) => {
e.preventDefault();
e.stopPropagation();
_forceCloseNotesPanel();
});
// Search
const searchEl = document.getElementById('notes-search');
if (searchEl) {