mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 22:28:51 +01:00
Fix initialization of js module ui.navigation
(#6902)
This commit is contained in:
parent
9a65ac26a4
commit
88a959684f
@ -8,7 +8,7 @@ humhub.module('ui.navigation', function (module, require, $) {
|
||||
|
||||
var initTopNav = function () {
|
||||
// Default implementation for topbar. Activate li on click.
|
||||
$('#top-menu-nav a:not(#space-menu):not(#top-dropdown-menu):not(data-action-click="ui.modal.load")').on('click', function () {
|
||||
$('#top-menu-nav a:not(#space-menu):not(#top-dropdown-menu):not([data-action-click="ui.modal.load"])').on('click', function () {
|
||||
module.setActiveItem($(this));
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user