Content deleted Content added
Polygnotus (talk | contribs) Undid revision 1296697469 by Polygnotus (talk) |
Polygnotus (talk | contribs) No edit summary |
||
Line 10:
// Helper function to scroll status area to bottom
function scrollStatusToBottom() {
setTimeout(() => {
const statusDiv = $('#status-text');
const statusArea = $('#status-area');
statusDiv.scrollTop(statusDiv[0].scrollHeight);▼
// Try scrolling the status area container instead of the text div
if (statusArea.length && statusArea[0]) {
statusArea[0].scrollTop = statusArea[0].scrollHeight;
}
// Also try the text div as backup
if (statusDiv.length && statusDiv[0]) {
}
}, 10);
}
|