mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-20 13:42:21 +03:00
Show the any-provider if there are more than one providers
This commit is contained in:
parent
c8bb40d2b9
commit
76039fb875
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ App.Pages.Booking = (function () {
|
|||
});
|
||||
|
||||
// Add the "Any Provider" entry.
|
||||
if ($selectProvider.find('option').length > 1 && vars('display_any_provider') === '1') {
|
||||
if ($selectProvider.find('option').length > 2 && vars('display_any_provider') === '1') {
|
||||
$(new Option(lang('any_provider'), 'any-provider')).insertAfter($selectProvider.find('option:first'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue