icinga/ui.js: don't spend time for UI debug...
...while not being shown. fixes #3115
This commit is contained in:
parent
745674dbe4
commit
0edcfdee33
|
@ -354,6 +354,9 @@
|
|||
},
|
||||
|
||||
refreshDebug: function () {
|
||||
if (! this.debug) {
|
||||
return;
|
||||
}
|
||||
|
||||
var size = this.getDefaultFontSize().toString();
|
||||
var winWidth = $( window ).width();
|
||||
|
|
Loading…
Reference in New Issue