Continue your booking

} // Function to update WhatsApp icon function updateWhatsapp(whatsappWidgetData, item) { try { let hotelId = $('#hotel_id').val(); let phoneNo = item.phoneNo; let desktopWhatsAppDiv = `
`; let mobileWhatsAppDiv = `
`; if ($('#device').val() === 'mobile' && whatsappSettings.forMobile) { if (whatsappSettings.isSiteWide) { $('.mobile .fab_book_button').before(mobileWhatsAppDiv); } else { $('.mobile.for-homepage .fab_book_button').before(mobileWhatsAppDiv); } } if ($('#device').val() === 'desktop' && whatsappSettings.forDesktop) { if (whatsappSettings.isSiteWide) { $('#back-top').after(desktopWhatsAppDiv); } else { $('.for-homepage #back-top').after(desktopWhatsAppDiv); } } } catch (error) { // console.error("Error in updateWhatsapp:", error); } } try { cloneWhatsAppIcon(); } catch (error) { // console.error("Error during WhatsApp widget initialization:", error); } // Apply CSS for cloned and generated WhatsApp icons $("