LCC International University > Staff and Faculty

Staff and Faculty

window.addEventListener('message', function(event) { console.log('Received postMessage event:', event); // Check for a specific message if needed if (event.data === 'chatClosed') { console.log('The chat has been closed.'); // You could hide the chat container here, e.g., // document.getElementById('chatbox').style.display = 'none'; } });