Skip to content

Commit

Permalink
js: Remove instructions regarding fixed control layout
Browse files Browse the repository at this point in the history
That's not fixed since a long time now.
  • Loading branch information
nilmerg committed Apr 22, 2024
1 parent c43128b commit 4df9f52
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions public/js/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,17 +206,13 @@
var icinga = this.module.icinga;
if ($controls.hasClass('want-fullscreen')) {
if (!$layout.hasClass('fullscreen-layout')) {

$layout.addClass('fullscreen-layout');
$controls.removeAttr('style');
$container.find('.fake-controls').remove();
icinga.ui.currentLayout = 'fullscreen';
}
} else if (! $container.parent('.dashboard').length) {
if ($layout.hasClass('fullscreen-layout')) {
$layout.removeClass('fullscreen-layout');
icinga.ui.layoutHasBeenChanged();
icinga.ui.initializeControls($container);
}
}
},
Expand Down

0 comments on commit 4df9f52

Please sign in to comment.