diff --git a/public/viewjs/mealplan.js b/public/viewjs/mealplan.js index 3109e070..6a66e938 100644 --- a/public/viewjs/mealplan.js +++ b/public/viewjs/mealplan.js @@ -151,7 +151,7 @@ var calendar = $("#calendar").fullCalendar({ if (recipe.picture_file_name && !recipe.picture_file_name.isEmpty()) { - element.html(element.html() + '
') + element.prepend('
') } var dayRecipeName = event.start.format("YYYY-MM-DD"); @@ -237,7 +237,7 @@ var calendar = $("#calendar").fullCalendar({ if (productDetails.product.picture_file_name && !productDetails.product.picture_file_name.isEmpty()) { - element.html(element.html() + '
') + element.prepend('
') } var dayRecipeName = event.start.format("YYYY-MM-DD"); diff --git a/views/mealplan.blade.php b/views/mealplan.blade.php index fba05fe7..27b87d8f 100644 --- a/views/mealplan.blade.php +++ b/views/mealplan.blade.php @@ -12,6 +12,18 @@ @push('pageStyles') + + @endpush @section('content')