From f5fa69e17d489d0d3d6005fa014621196fcc4a6d Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Tue, 18 Feb 2025 22:58:16 +0100 Subject: [PATCH] dropdown attributes to JS options --- assets/index.js | 5 +++++ templates/layout.html.twig | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/index.js b/assets/index.js index 8d0bfc391..f98a1088d 100755 --- a/assets/index.js +++ b/assets/index.js @@ -291,6 +291,11 @@ $(document).ready(() => { }); $('.dropdown-trigger').dropdown({ hover: false }); + $('.dropdown-trigger[data-covertrigger="false"][data-constrainwidth="false"]').dropdown({ + hover: false, + coverTrigger: false, + constrainWidth: false, + }); initFilters(); initExport(); diff --git a/templates/layout.html.twig b/templates/layout.html.twig index 484a343b5..490456567 100644 --- a/templates/layout.html.twig +++ b/templates/layout.html.twig @@ -117,7 +117,7 @@
  • - + account_circle