mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Fixed mssing-recipe-ingredients-to-shopping-list checkbox inner-click (fixes #1383)
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user