From 12af6603fb8d21d54ef5d388ea9bd9ad67a1e290 Mon Sep 17 00:00:00 2001 From: Paul Wieland Date: Tue, 12 Nov 2024 13:58:16 -0500 Subject: [PATCH] Update index.html --- static/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/static/index.html b/static/index.html index c7b30a1..3d6ec5c 100644 --- a/static/index.html +++ b/static/index.html @@ -298,8 +298,10 @@ var img = new Image(); img.src = `wiring_diagrams/${hardware}_${diagram_protocol}.png`; if(img.height !== 0){ + console.log(`diagram: ${img.src}`); document.querySelector("#wiring_diagram").src = img.src; }else{ + console.log(`img not found: ${img.src}`); document.querySelector("#wiring_diagram").src = "wiring_diagrams/v25iboard_secplus.png"; }