From 09434009e80a49e9f9ba17d65f68a6940c9813e8 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Wed, 1 Mar 2023 12:52:42 +0530 Subject: [PATCH] Fix maps on room type detail page --- themes/hotel-reservation-theme/js/product.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/hotel-reservation-theme/js/product.js b/themes/hotel-reservation-theme/js/product.js index 96ae9a806..3359014cf 100644 --- a/themes/hotel-reservation-theme/js/product.js +++ b/themes/hotel-reservation-theme/js/product.js @@ -1029,7 +1029,9 @@ function checkUrl() { /*#####################################################################*/ $(document).ready(function() { - BookingForm.init(); + if (!PS_CATALOG_MODE) { + BookingForm.init(); + } $(document).on('QloApps:updateRoomOccupancy', function(e) { BookingForm.refresh();