mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 01:12:21 +03:00
Only show the any-provider option if there are more than one providers
This commit is contained in:
parent
95fbbeec27
commit
09444c1b5e
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ window.FrontendBook = window.FrontendBook || {};
|
|||
});
|
||||
|
||||
// Add the "Any Provider" entry.
|
||||
if ($('#select-provider option').length >= 1 && GlobalVariables.displayAnyProvider === '1') {
|
||||
if ($('#select-provider option').length > 1 && GlobalVariables.displayAnyProvider === '1') {
|
||||
$('#select-provider').prepend(new Option('- ' + EALang.any_provider + ' -', 'any-provider', true, true));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue