Merge branch 'ent-13203-graficas-services-redimensiona-a-un-tamano-diminuto' into 'develop'
Ent 13203 graficas services redimensiona a un tamano diminuto See merge request artica/pandorafms!7229
This commit is contained in:
commit
b0b7321771
|
@ -434,6 +434,10 @@ ui_include_time_picker(true);
|
||||||
var browserZoomLevel = window.outerWidth / window.innerWidth;
|
var browserZoomLevel = window.outerWidth / window.innerWidth;
|
||||||
let height = ($('#chart-modal').height() + margin) * browserZoomLevel;
|
let height = ($('#chart-modal').height() + margin) * browserZoomLevel;
|
||||||
let width = 800 * browserZoomLevel;
|
let width = 800 * browserZoomLevel;
|
||||||
|
if (width === 800) {
|
||||||
|
width = 1000;
|
||||||
|
height = 550;
|
||||||
|
}
|
||||||
window.resizeTo(width, height);
|
window.resizeTo(width, height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue