Book Online
window.addEventListener(‘message’, function handleIFrameMessage (e) {
var clinikoBookings = document.getElementById(‘cliniko-48483124’);
if (typeof e.data !== ‘string’) return;
if (e.data.search(‘cliniko-bookings-resize’) > -1) {
var height = Number(e.data.split(‘:’)[1]);
clinikoBookings.style.height = height + ‘px’;
}
e.data.search(‘cliniko-bookings-page’) > -1 && clinikoBookings.scrollIntoView();
});