diff --git a/public/index.html b/public/index.html
index d9f4216..2e05039 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1259,6 +1259,9 @@ async function showLogContext(id) {
} catch (e) { toast('Failed to load context', 'danger'); }
}
+document.getElementById('logSearchBtn').addEventListener('click', () => loadLogs());
+document.getElementById('logSearchInput').addEventListener('keydown', e => { if (e.key === 'Enter') loadLogs(); });
+
async function exportLogs() {
const query = document.getElementById('logSearchInput').value.trim();
if (!query) { toast('Search something first', 'warning'); return; }