mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
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 () {
|
refreshDebug: function () {
|
||||||
|
if (! this.debug) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var size = this.getDefaultFontSize().toString();
|
var size = this.getDefaultFontSize().toString();
|
||||||
var winWidth = $( window ).width();
|
var winWidth = $( window ).width();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user