Fixed print layout display handling (fixes #1272)

This commit is contained in:
Bernd Bestel
2021-01-30 13:11:40 +01:00
parent 8b963ae0f1
commit a455a01204
2 changed files with 3 additions and 2 deletions

View File

@@ -471,6 +471,7 @@ $(document).on("click", "#print-shopping-list-button", function(e)
shoppingListPrintShadowTable.draw();
}
$(".print-layout-container").addClass("d-none");
$("." + $("input[name='print-layout-type']:checked").val()).removeClass("d-none");
window.print();