Add a resize handler

pull/3831/head
Isaac Connor 2024-02-15 09:38:17 -05:00
parent 0e1cf9beda
commit 4424bab051
1 changed files with 1 additions and 0 deletions

View File

@ -294,6 +294,7 @@ function initPage() {
monitors[i] = new MonitorStream(monitorData[i]);
}
$j(window).on('resize', selectLayout);
selectLayout();
for (let i = 0, length = monitorData.length; i < length; i++) {
// Start the fps and status updates. give a random delay so that we don't assault the server