This commit is contained in:
2026-02-13 14:19:15 +01:00
commit c0beb640e6
1591 changed files with 308373 additions and 0 deletions

19
assets/js/ui-navbar.js Normal file
View File

@@ -0,0 +1,19 @@
/**
* UI Navbar
*/
'use strict';
(function () {
// If layout is RTL add .dropdown-menu-end class to .dropdown-menu
if (isRtl) {
Helpers._addClass('dropdown-menu-end', document.querySelectorAll('.dropdown-menu'));
}
// Mega dropdown
const megaDropdown = document.querySelectorAll('.nav-link.mega-dropdown');
if (megaDropdown) {
megaDropdown.forEach(e => {
new MegaDropdown(e);
});
}
})();