diff --git a/views/html-head.ejs b/views/html-head.ejs index 326d9c4..3642ed9 100644 --- a/views/html-head.ejs +++ b/views/html-head.ejs @@ -118,6 +118,10 @@ document.getElementById('user-drawer-list').innerHTML = ' + +$(function () { + + document.querySelector('mdui-navigation-rail').setAttribute('value', window.location.pathname); const AddDialog = document.querySelector("#newproject"); @@ -150,6 +154,7 @@ document.getElementById('user-drawer-list').innerHTML = ' TypesDrawer.open = true); }); closeTypesButton.addEventListener("click", () => TypesDrawer.open = false); + });