mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed visual with browsers with more zoom
This commit is contained in:
parent
9699b368ef
commit
b61e7c6c58
@ -433,7 +433,7 @@ if (check_acl($config['id_user'], 0, 'ER')
|
|||||||
var defaultHeight = 450;
|
var defaultHeight = 450;
|
||||||
// If the scale is 1, no zoom has been applied.
|
// If the scale is 1, no zoom has been applied.
|
||||||
var windowWidth = windowScale <= 1 ? defaultWidth : windowScale*defaultWidth;
|
var windowWidth = windowScale <= 1 ? defaultWidth : windowScale*defaultWidth;
|
||||||
var windowHeight = windowScale <= 1 ? defaultHeight : windowScale*defaultHeight;
|
var windowHeight = windowScale <= 1 ? defaultHeight : windowScale*defaultHeight + (defaultHeight*0.1);
|
||||||
|
|
||||||
window.open(
|
window.open(
|
||||||
url,
|
url,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user