diff --git a/bootstrap_barrio.libraries.yml b/bootstrap_barrio.libraries.yml index 7b3fba24827c91b7eeb692d4d9f4f05ff9e00178..00898bb5128b52354f82339d4210042b833501f8 100644 --- a/bootstrap_barrio.libraries.yml +++ b/bootstrap_barrio.libraries.yml @@ -119,7 +119,7 @@ navigation: version: VERSION css: theme: - css/navigation.css: {} + css/components/navigation.css: {} node: version: VERSION diff --git a/js/global.js b/js/global.js index 393f2eb33ab71177c73375d91698a876be52c8a0..b42224efbc82b50b6ae884e4d8c6ad80ff38bf13 100644 --- a/js/global.js +++ b/js/global.js @@ -29,6 +29,12 @@ position = scroll; }); + $('.dropdown-item a.dropdown-toggle').on("click", function(e){ + $(this).next('ul').toggle(); + e.stopPropagation(); + e.preventDefault(); + }); + } };