diff --git a/app/static/js/index.js b/app/static/js/index.js index 773c37c..29dcb54 100644 --- a/app/static/js/index.js +++ b/app/static/js/index.js @@ -5841,6 +5841,11 @@ function reinitializeElements() { if (targetElement && targetElement.classList) { targetElement.classList.remove('swapping'); } + + // Автоматически прокручиваем к последним логам после перестановки + setTimeout(() => { + scrollToBottom(); + }, 100); }, 300); // Убираем подсветку @@ -5944,6 +5949,11 @@ function reinitializeElements() { localStorage.setItem('lb_panel_order', JSON.stringify(uniquePanelOrder)); console.log('Panel order saved:', uniquePanelOrder); + + // Автоматически прокручиваем к последним логам после сохранения порядка + setTimeout(() => { + scrollToBottom(); + }, 200); } /**