From 4df9f52535648b231bf733b80b5367c3d8a5070d Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 19 Apr 2024 12:24:47 +0200 Subject: [PATCH] js: Remove instructions regarding fixed control layout That's not fixed since a long time now. --- public/js/module.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public/js/module.js b/public/js/module.js index e93accfd..cf0cbb9a 100644 --- a/public/js/module.js +++ b/public/js/module.js @@ -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); } } },