diff --git a/dist/CNC/GRBL/index.html.gz b/dist/CNC/GRBL/index.html.gz
index 85f0f8d6..7692807d 100644
Binary files a/dist/CNC/GRBL/index.html.gz and b/dist/CNC/GRBL/index.html.gz differ
diff --git a/dist/CNC/GRBLHal/index.html.gz b/dist/CNC/GRBLHal/index.html.gz
index 1f3f88e1..c2cddec7 100644
Binary files a/dist/CNC/GRBLHal/index.html.gz and b/dist/CNC/GRBLHal/index.html.gz differ
diff --git a/dist/Plotter/HP-GL/index.html.gz b/dist/Plotter/HP-GL/index.html.gz
index 54b00f63..4deac09f 100644
Binary files a/dist/Plotter/HP-GL/index.html.gz and b/dist/Plotter/HP-GL/index.html.gz differ
diff --git a/dist/Printer3D/Marlin-embedded/index.html.gz b/dist/Printer3D/Marlin-embedded/index.html.gz
index 20f8c783..e85d90d2 100644
Binary files a/dist/Printer3D/Marlin-embedded/index.html.gz and b/dist/Printer3D/Marlin-embedded/index.html.gz differ
diff --git a/dist/Printer3D/Marlin/index.html.gz b/dist/Printer3D/Marlin/index.html.gz
index 23de4c78..7e4eaa22 100644
Binary files a/dist/Printer3D/Marlin/index.html.gz and b/dist/Printer3D/Marlin/index.html.gz differ
diff --git a/dist/Printer3D/Repetier/index.html.gz b/dist/Printer3D/Repetier/index.html.gz
index 052e6ed8..40c2787b 100644
Binary files a/dist/Printer3D/Repetier/index.html.gz and b/dist/Printer3D/Repetier/index.html.gz differ
diff --git a/dist/Printer3D/Smoothieware/index.html.gz b/dist/Printer3D/Smoothieware/index.html.gz
index 607936f1..4cda1d36 100644
Binary files a/dist/Printer3D/Smoothieware/index.html.gz and b/dist/Printer3D/Smoothieware/index.html.gz differ
diff --git a/dist/SandTable/GRBL/index.html.gz b/dist/SandTable/GRBL/index.html.gz
index 2064f1ae..621cebde 100644
Binary files a/dist/SandTable/GRBL/index.html.gz and b/dist/SandTable/GRBL/index.html.gz differ
diff --git a/src/components/App/version.js b/src/components/App/version.js
index 529e7828..0f42c3fe 100644
--- a/src/components/App/version.js
+++ b/src/components/App/version.js
@@ -17,7 +17,7 @@
*/
import { h } from "preact"
import { webUIbuild } from "../../targets"
-export const webUIversion = "3.0.0-a73"
+export const webUIversion = "3.0.0-a74"
export const Esp3dVersion = () => (
{webUIversion}.{webUIbuild}
diff --git a/src/components/ExtraContent/extraContentItem.js b/src/components/ExtraContent/extraContentItem.js
index 062c6c14..8e9e1053 100644
--- a/src/components/ExtraContent/extraContentItem.js
+++ b/src/components/ExtraContent/extraContentItem.js
@@ -175,8 +175,8 @@ const ExtraContentItem = ({
}, [id, loadContent])
useEffect(() => {
- console.log("Updating refresh interval for " + id)
if (refreshtime > 0 && (type === "camera" || type === "image") && visibilityState[id] && !isPaused) {
+ console.log("Updating refresh interval for " + id)
if (!refreshIntervalRef.current){
console.log("Starting refresh interval for " + id+ " with refreshtime " + refreshtime)
refreshIntervalRef.current = setInterval(loadContent, refreshtime)
@@ -207,6 +207,10 @@ const ExtraContentItem = ({
const doc = iframeElement.contentWindow.document
const body = doc.querySelector("body")
+ if (!body){
+ console.error("body not found")
+ return
+ }
body.classList.add("body-extension")
const css = document.querySelectorAll("style")
css.forEach((csstag) => {
diff --git a/src/components/Panels/Status.js b/src/components/Panels/Status.js
index b12cf243..b4477a31 100644
--- a/src/components/Panels/Status.js
+++ b/src/components/Panels/Status.js
@@ -142,8 +142,7 @@ const StatusControls = () => {
)}
{status.printState.printing &&
- status.printState.progress !=
- "NaN"(
+ status.printState.progress != "NaN" && (