Spaces:
Running
Running
Update index.html
Browse files- index.html +7 -1
index.html
CHANGED
@@ -272,7 +272,13 @@
|
|
272 |
const active = {};
|
273 |
|
274 |
/** Instantiate */
|
275 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
|
277 |
/** Add callbacks */
|
278 |
|
|
|
272 |
const active = {};
|
273 |
|
274 |
/** Instantiate */
|
275 |
+
let heyBuddy;
|
276 |
+
try {
|
277 |
+
heyBuddy = new HeyBuddy(options);
|
278 |
+
} catch(e) {
|
279 |
+
console.error("Couldn't make heybuddy", e);
|
280 |
+
heyBuddy = new HeyBuddy(options);
|
281 |
+
}
|
282 |
|
283 |
/** Add callbacks */
|
284 |
|