mirror of
https://github.com/grocy/grocy.git
synced 2025-10-25 13:36:17 +00:00
Added a compact view for shopping list (for mobile shopping) (closes #453)
This commit is contained in:
@@ -219,7 +219,14 @@ $("#selectedRecipeToggleFullscreenButton").on('click', function(e)
|
||||
$("#selectedRecipeCard .card-header").toggleClass("fixed-top");
|
||||
$("#selectedRecipeCard .card-body").toggleClass("mt-5");
|
||||
|
||||
window.location.hash = "fullscreen";
|
||||
if ($("body").hasClass("fullscreen-card"))
|
||||
{
|
||||
window.location.hash = "#fullscreen";
|
||||
}
|
||||
else
|
||||
{
|
||||
window.history.replaceState(null, null, " ");
|
||||
}
|
||||
});
|
||||
|
||||
$('#servings-scale').keyup(function(event)
|
||||
|
||||
Reference in New Issue
Block a user