Merge pull request #3116 from Icinga/fix/no-debug-rendering-while-disabled-3115
icinga/ui.js: don't spend time for UI debug...
This commit is contained in:
commit
7fd9f23f6c
|
@ -354,6 +354,9 @@
|
|||
},
|
||||
|
||||
refreshDebug: function () {
|
||||
if (! this.debug) {
|
||||
return;
|
||||
}
|
||||
|
||||
var size = this.getDefaultFontSize().toString();
|
||||
var winWidth = $( window ).width();
|
||||
|
|
Loading…
Reference in New Issue