mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-21 12:54:26 +02:00
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 () {
|
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