diff --git a/mpicms/static/js/main.js b/mpicms/static/js/main.js index 9a6a036..9d81c98 100644 --- a/mpicms/static/js/main.js +++ b/mpicms/static/js/main.js @@ -1,7 +1,7 @@ document.addEventListener('DOMContentLoaded', function () { // Dropdowns - var $dropdowns = getAll('.dropdown:not(.is-hoverable)'); + var $dropdowns = getAll('.dropdown:not(.is-hoverable), .has-dropdown:not(.is-hoverable)'); if ($dropdowns.length > 0) { $dropdowns.forEach(function ($el) { @@ -55,4 +55,4 @@ document.addEventListener('DOMContentLoaded', function () { function getAll(selector) { return Array.prototype.slice.call(document.querySelectorAll(selector), 0); } -}); +}); \ No newline at end of file diff --git a/mpicms/templates/menus/main.html b/mpicms/templates/menus/main.html index 88792d1..dcf7b72 100644 --- a/mpicms/templates/menus/main.html +++ b/mpicms/templates/menus/main.html @@ -59,7 +59,10 @@

Intranet