mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-14 03:52:21 +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
|
* Old Name: FrontendBook
|
||||||
*/
|
*/
|
||||||
App.Pages.Booking = (function () {
|
App.Pages.Booking = (function () {
|
||||||
const $cookieNoticeLink = $('.cc-link');
|
|
||||||
const $selectDate = $('#select-date');
|
const $selectDate = $('#select-date');
|
||||||
const $selectService = $('#select-service');
|
const $selectService = $('#select-service');
|
||||||
const $selectProvider = $('#select-provider');
|
const $selectProvider = $('#select-provider');
|
||||||
|
@ -83,10 +82,12 @@ App.Pages.Booking = (function () {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const $cookieNoticeLink = $('.cc-link');
|
||||||
|
|
||||||
$cookieNoticeLink.replaceWith(
|
$cookieNoticeLink.replaceWith(
|
||||||
$('<a/>', {
|
$('<a/>', {
|
||||||
'data-toggle': 'modal',
|
'data-bs-toggle': 'modal',
|
||||||
'data-target': '#cookie-notice-modal',
|
'data-bs-target': '#cookie-notice-modal',
|
||||||
'href': '#',
|
'href': '#',
|
||||||
'class': 'cc-link',
|
'class': 'cc-link',
|
||||||
'text': $cookieNoticeLink.text(),
|
'text': $cookieNoticeLink.text(),
|
||||||
|
|
Loading…
Reference in a new issue