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); } } },