navigation.js: Handle toggle-more click

This commit is contained in:
Florian Strohmaier 2022-05-19 18:34:34 +02:00
parent 81b4163947
commit 5183428ddd

View File

@ -21,6 +21,8 @@
this.on('keydown', '#menu .config-menu .config-nav-item', this.onKeyDown, this);
this.on('click', '#toggle-more', this.toggleMoreFlyout, this);
/**
* The DOM-Path of the active item
*
@ -422,6 +424,10 @@
}
}
Navigation.prototype.toggleMoreFlyout = function(e) {
$('#layout').toggleClass('more-button-open');
}
/**
* Called when the history changes
*