From bf197eabcef754204ba90f4dac32ea0324d80034 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 4855c9cc..aacedd7d 100644 --- a/public/js/module.js +++ b/public/js/module.js @@ -201,17 +201,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); } } },