diff --git a/public/js/icinga/ui.js b/public/js/icinga/ui.js index 1c98d8f4e..31195351e 100644 --- a/public/js/icinga/ui.js +++ b/public/js/icinga/ui.js @@ -34,7 +34,12 @@ var matched; $.each(classList, function(index, item) { if (null !== (matched = item.match(/^([a-z]+)-layout$/))) { - _this.currentLayout = matched[1]; + var layout = matched[1]; + if (layout !== 'fullscreen') { + _this.currentLayout = layout; + // Break loop + return false; + } } }); };