ui: fix non working things

This commit is contained in:
Jean-Baptiste Pasquier
2019-05-20 15:06:07 +02:00
parent 30ca2223c2
commit 30f0e39dce
6 changed files with 54 additions and 53 deletions

View File

@ -3,6 +3,10 @@ document.addEventListener('DOMContentLoaded', function (event) {
const rightMenus = Array.from(document.querySelectorAll('nav.jsRightMenu'));
const viewsContainer = Array.from(document.querySelectorAll('.views-container'));
window.addEventListener('navigate', (event) => {
//- View change event
});
//- Toggle sub-menus
menuWrappers.forEach(menuWrapper => {
const menu = menuWrapper.querySelector('.menu');