diff --git a/public/js/icinga/ui.js b/public/js/icinga/ui.js index 4135f1516..46e8d2c0d 100644 --- a/public/js/icinga/ui.js +++ b/public/js/icinga/ui.js @@ -354,6 +354,9 @@ }, refreshDebug: function () { + if (! this.debug) { + return; + } var size = this.getDefaultFontSize().toString(); var winWidth = $( window ).width();