diff --git a/public/js/icinga/behavior/navigation.js b/public/js/icinga/behavior/navigation.js index 2da6bc87d..5046a18d4 100644 --- a/public/js/icinga/behavior/navigation.js +++ b/public/js/icinga/behavior/navigation.js @@ -8,11 +8,11 @@ var Navigation = function (icinga) { Icinga.EventListener.call(this, icinga); - this.on('click', '#menu a', this.linkClicked, this); + this.on('click', '#menu a:not(".user-nav-item")', this.linkClicked, this); this.on('click', '#menu tr[href]', this.linkClicked, this); this.on('mouseenter', 'li.dropdown', this.dropdownHover, this); this.on('mouseleave', 'li.dropdown', this.dropdownLeave, this); - this.on('mouseenter', '#menu > nav > ul > li', this.menuTitleHovered, this); + this.on('mouseenter', '#menu > nav > ul > li:not(".user-nav-item")', this.menuTitleHovered, this); this.on('mouseleave', '#sidebar', this.leaveSidebar, this); this.on('rendered', this.onRendered, this);