mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-08 17:12:25 +03:00
Correct the Learn More button behavior
This commit is contained in:
parent
8c8aaaa5e7
commit
0242c70fdf
1 changed files with 4 additions and 3 deletions
|
@ -17,7 +17,6 @@
|
|||
* Old Name: FrontendBook
|
||||
*/
|
||||
App.Pages.Booking = (function () {
|
||||
const $cookieNoticeLink = $('.cc-link');
|
||||
const $selectDate = $('#select-date');
|
||||
const $selectService = $('#select-service');
|
||||
const $selectProvider = $('#select-provider');
|
||||
|
@ -83,10 +82,12 @@ App.Pages.Booking = (function () {
|
|||
},
|
||||
});
|
||||
|
||||
const $cookieNoticeLink = $('.cc-link');
|
||||
|
||||
$cookieNoticeLink.replaceWith(
|
||||
$('<a/>', {
|
||||
'data-toggle': 'modal',
|
||||
'data-target': '#cookie-notice-modal',
|
||||
'data-bs-toggle': 'modal',
|
||||
'data-bs-target': '#cookie-notice-modal',
|
||||
'href': '#',
|
||||
'class': 'cc-link',
|
||||
'text': $cookieNoticeLink.text(),
|
||||
|
|
Loading…
Reference in a new issue