Spaces:
Sleeping
Sleeping
Update static/index.html
Browse files185 unmodified lines186187188189190191192185 unmodified linesconsole.error('Error sending chat history on close:', error);} finally {const chatContainer = document.getElementById("chat-container");window.parent.goBackToChat(); // Or use chatContainer.remove(); to completely remove it}}185 unmodified lines186187188189190191192185 unmodified linesconsole.error('Error sending chat history on close:', error);} finally {const chatContainer = document.getElementById("chat-container");window.parent.postMessage('goBackToChat', 'https://redfernstech.com/chat-bot-test/'); // Or use chatContainer.remove(); to completely remove it}}
static/index.html+1-1