From fce6458df6b0f429b85307205c8792b850bb25f0 Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 4 Dec 2022 21:59:20 +0100 Subject: [PATCH] Optimized modal dialog sizing --- public/js/grocy.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/js/grocy.js b/public/js/grocy.js index 6e3af619..edd5d66c 100644 --- a/public/js/grocy.js +++ b/public/js/grocy.js @@ -1236,3 +1236,8 @@ $(document).on("click", "#clear-filter-button", function(e) // to prevent that the tooltip stays until clicked anywhere else document.activeElement.blur(); }); + +$(document).on("shown.bs.modal", function(e) +{ + ResizeResponsiveEmbeds(); +})