From d8a03a50ab855c2696c7bdc9aa08b60bd8e03de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81bastien?= Date: Sun, 10 May 2020 00:01:17 +0200 Subject: [PATCH] Fix display of service details when the service change on the booking process page. --- assets/js/frontend_book.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/assets/js/frontend_book.js b/assets/js/frontend_book.js index 3f8d9876..1383fdc2 100644 --- a/assets/js/frontend_book.js +++ b/assets/js/frontend_book.js @@ -712,9 +712,13 @@ window.FrontendBook = window.FrontendBook || {}; } }); - $div - .html(html) - .toggle(html); + $div.html(html); + + if (html) { + $div.show(); + } else { + $div.hide(); + } } })(window.FrontendBook);