Fixed mssing-recipe-ingredients-to-shopping-list checkbox inner-click (fixes #1383)

This commit is contained in:
Bernd Bestel
2021-07-02 18:04:20 +02:00
parent cae924eb81
commit 5ba9bbbcd1

View File

@@ -334,6 +334,14 @@ $(document).on("click", ".missing-recipe-pos-select-button", function(e)
$(this).toggleClass("list-group-item-primary");
});
$(document).on("click", ".missing-recipe-pos-product-checkbox", function(e)
{
e.stopPropagation();
$(this).prop("checked", !$(this).prop("checked"));
$(this).parent().parent().click();
});
if (window.location.hash === "#fullscreen")
{
$("#selectedRecipeToggleFullscreenButton").click();