diff --git a/changelog/56_UNRELEASED_2020-xx-xx.md b/changelog/56_UNRELEASED_2020-xx-xx.md index ba196902..ae921cbc 100644 --- a/changelog/56_UNRELEASED_2020-xx-xx.md +++ b/changelog/56_UNRELEASED_2020-xx-xx.md @@ -4,5 +4,6 @@ ### Shopping list fixes - Optimized the new compact view (there was a little too much white space at the sides of the page) -### Recipe improvements +### Recipe improvements/fixes +- Fixed that when editing a recipe ingredient which had "Only check if a single unit is in stock" set, not any quantity unit could be picked and the amount stayed empty - Optimized the ordering of the inputs on the recipe ingredient edit page (moved "Only check if a single unit is in stock" before the amount) diff --git a/public/viewjs/recipeposform.js b/public/viewjs/recipeposform.js index 21432c52..7d228155 100644 --- a/public/viewjs/recipeposform.js +++ b/public/viewjs/recipeposform.js @@ -154,5 +154,5 @@ $("#only_check_single_unit_in_stock").on("click", function() }); // Click twice to trigger on-click but not change the actual checked state -//$("#only_check_single_unit_in_stock").click(); -//$("#only_check_single_unit_in_stock").click(); +$("#only_check_single_unit_in_stock").click(); +$("#only_check_single_unit_in_stock").click();