diff --git a/src/assets/js/frontend_book.js b/src/assets/js/frontend_book.js index d940a44a..b3261d1d 100644 --- a/src/assets/js/frontend_book.js +++ b/src/assets/js/frontend_book.js @@ -170,12 +170,12 @@ window.FrontendBook = window.FrontendBook || {}; $('#select-provider').empty(); $.each(GlobalVariables.availableProviders, function(indexProvider, provider) { - $.each(provider.services'], function(indexService, serviceId) { + $.each(provider.services, function(indexService, serviceId) { // If the current provider is able to provide the selected service, // add him to the listbox. if (serviceId == currServiceId) { - var optionHtml = ''; $('#select-provider').append(optionHtml); }