diff --git a/templates/index.html b/templates/index.html index 97c46f9..e7f9948 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3195,6 +3195,8 @@ document.addEventListener('DOMContentLoaded', () => { // Выделяем найденный пост highlightSelectedPost(result.id); + // Показываем детали поста в правой панели + showPostDetails(result.id); } } else if (type === 'events') { clearEventsSearchHighlight(); @@ -3205,6 +3207,8 @@ document.addEventListener('DOMContentLoaded', () => { // Выделяем найденное событие highlightSelectedEvent(result.id); + // Показываем детали события в правой панели + showEventDetails(result.id); } } }