diff --git a/public/widget/custom/brandize.js b/public/widget/custom/brandize.js index b4a7c12..7d64354 100644 --- a/public/widget/custom/brandize.js +++ b/public/widget/custom/brandize.js @@ -3,12 +3,12 @@ console.log('INIT ELEVENLABS') import { Conversation } from 'https://cdn.skypack.dev/@elevenlabs/client'; -const callBtn = document.getElementById('callBtn'); let conversation = null; console.log("INIT") document.addEventListener('JSsucks', () => { console.log("JSsucks") +const callBtn = document.getElementById('callBtn'); callBtn.addEventListener('click', async () => { console.log('Requesting microphone access...');