2
0
mirror of https://github.com/esiur/iui.git synced 2025-05-06 06:42:58 +00:00
This commit is contained in:
Ahmed Zamil 2021-04-23 12:11:07 +03:00
parent 4a79acc6ff
commit fab9e186c9
2 changed files with 19 additions and 17 deletions

View File

@ -2617,12 +2617,12 @@ html[dir='rtl'] .multiselect-list-remove {
overflow: hidden;
}
.link
{
position: relative;
overflow: hidden;
display: block;
cursor: pointer;
}
.button:after, .ripple:after, .link:after{

View File

@ -168,6 +168,8 @@ export default IUI.module(class Navbar extends IUIElement
return true;
}
return true;
});
const appendRoutes = (routes, level, container) => {
@ -193,7 +195,7 @@ export default IUI.module(class Navbar extends IUIElement
item.appendChild(link);
container.appendChild(item);
this._list.push(item);
self._list.push(item);
let subRoutes = filterRoutes(routes[i].routes);
@ -236,7 +238,7 @@ export default IUI.module(class Navbar extends IUIElement
created() {
if (!this.hasAttribute("manual"))
window.router.on("created", this.build);
window.router.on("created", ()=>this.build());
window.router.on("navigate", (e) => {