From 53e3042940eb18009f1a5a0548177c0ec8b63f54 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Thu, 19 Jan 2023 17:48:04 -0500 Subject: [PATCH] Remove laggy elements of the portal --- www/public/main.js | 10 +++++----- www/views/index.html | 7 ++----- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/www/public/main.js b/www/public/main.js index 4c3d2fb..a912347 100644 --- a/www/public/main.js +++ b/www/public/main.js @@ -29,11 +29,11 @@ function parseStatus(data) { } function refreshData() { - const log = document.getElementById('log-area'); - log.contentWindow.location.reload(); - sleep(100).then(() => { - document.getElementById('log-area').contentWindow.scrollTo(0, 9999999999); - }); + // const log = document.getElementById('log-area'); + // log.contentWindow.location.reload(); + // sleep(100).then(() => { + // document.getElementById('log-area').contentWindow.scrollTo(0, 9999999999); + // }); // Get the elements we need to update const statusTable = document.getElementById('status-table'); diff --git a/www/views/index.html b/www/views/index.html index 90834ea..062caf9 100644 --- a/www/views/index.html +++ b/www/views/index.html @@ -59,12 +59,9 @@ -
+