mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-16 09:45:24 -04:00
Remove mobile notes close button
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user