simoncck commited on
Commit
b6c26b5
·
verified ·
1 Parent(s): 0a22178

Update browser_automation_ui.html

Browse files
Files changed (1) hide show
  1. browser_automation_ui.html +6 -1
browser_automation_ui.html CHANGED
@@ -107,7 +107,12 @@
107
  <script defer>
108
  // Wait until Lucide and DOM ready
109
  document.addEventListener("DOMContentLoaded", () => {
110
- lucide.createIcons();
 
 
 
 
 
111
  initApp();
112
  });
113
 
 
107
  <script defer>
108
  // Wait until Lucide and DOM ready
109
  document.addEventListener("DOMContentLoaded", () => {
110
+ // ensure lucide global exists
111
+ if (typeof lucide === "undefined") {
112
+ console.error("Lucide failed to load – icons disabled");
113
+ } else {
114
+ lucide.createIcons();
115
+ }
116
  initApp();
117
  });
118