From e1f98e3b2e5361fb468d48f9143437eaf017d977 Mon Sep 17 00:00:00 2001
From: Bruce Toll <btoll@dhsus.com>
Date: Wed, 31 Jul 2024 16:38:26 -0400
Subject: [PATCH] Additional logging and comment with potential fix

---
 src/web/skeleton/Boot.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/web/skeleton/Boot.js b/src/web/skeleton/Boot.js
index 57916136..6d0d80ee 100644
--- a/src/web/skeleton/Boot.js
+++ b/src/web/skeleton/Boot.js
@@ -100,6 +100,8 @@ _$_$endif_$_();
 
 (function() {
   function doLoad() {
+    console.log("doLoad called");
+    console.timeLog("time for setTimeout(doLoad, 0) to call doLoad");
     const doc = document, win = window;
 
     try {
@@ -351,5 +353,9 @@ _$_$endif_$_();
     }
   }
 
+  console.log("about to call setTimeout(doLoad, 0)");
+  console.time("time for setTimeout(doLoad, 0) to call doLoad");
   setTimeout(doLoad, 0);
+  // replace setTimeout above with doLoad() below eliminates two second delay at boot w/FF
+  // doLoad();
 })();
-- 
2.44.1

