diff --git a/public/js/icinga/behavior/navigation.js b/public/js/icinga/behavior/navigation.js index 3befe4bd3..41bf38908 100644 --- a/public/js/icinga/behavior/navigation.js +++ b/public/js/icinga/behavior/navigation.js @@ -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 *