mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +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;
|
||||
// If the scale is 1, no zoom has been applied.
|
||||
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(
|
||||
url,
|
||||
|
Loading…
x
Reference in New Issue
Block a user