mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
The display-selected-service and display-selected-provider elements will be invisible by default.
This commit is contained in:
parent
442c644c01
commit
ab4e404fac
2 changed files with 10 additions and 4 deletions
|
@ -15,10 +15,10 @@
|
|||
</span>
|
||||
|
||||
<div class="d-flex justify-content-center justify-content-md-start">
|
||||
<span class="display-selected-service me-2">
|
||||
<span class="display-selected-service me-2 invisible">
|
||||
[<?= lang('service') ?>]
|
||||
</span>
|
||||
<span class="display-selected-provider">
|
||||
<span class="display-selected-provider invisible">
|
||||
[<?= lang('provider') ?>]
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -600,9 +600,15 @@ App.Pages.Booking = (function () {
|
|||
}
|
||||
});
|
||||
|
||||
$(document).find('.display-selected-service').text($selectService.find('option:selected').text());
|
||||
$(document)
|
||||
.find('.display-selected-service')
|
||||
.text($selectService.find('option:selected').text())
|
||||
.removeClass('invisible');
|
||||
|
||||
$(document).find('.display-selected-provider').text($selectProvider.find('option:selected').text());
|
||||
$(document)
|
||||
.find('.display-selected-provider')
|
||||
.text($selectProvider.find('option:selected').text())
|
||||
.removeClass('invisible');
|
||||
|
||||
$('#appointment-details').empty();
|
||||
|
||||
|
|
Loading…
Reference in a new issue