From d4594bd5836b095967821a65d0943f48381b4994 Mon Sep 17 00:00:00 2001 From: alext Date: Sun, 5 Nov 2017 16:31:28 +0100 Subject: [PATCH] Corrected syntax error in frontend_book.js --- src/assets/js/frontend_book.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }