Clean code for vat check popup

This commit is contained in:
Laurent Destailleur
2024-07-14 17:23:42 +02:00
parent 7b75e2c722
commit 16572677fa
3 changed files with 9 additions and 7 deletions

View File

@@ -976,8 +976,8 @@ function newpopup(url, title) {
var h = (argc > 3) ? argv[3] : 400;
var left = (screen.width - l)/2;
var top = (screen.height - h)/2;
var wfeatures = "directories=0,menubar=0,status=0,resizable=0,scrollbars=1,toolbar=0,width=" + l +",height=" + h + ",left=" + left + ",top=" + top;
fen=window.open(tmp,title,wfeatures);
var wfeatures = "directories=0,menubar=0,status=0,resizable=0,scrollbars=1,toolbar=0,location=0,width=" + l +",height=" + h + ",left=" + left + ",top=" + top;
fen = window.open(tmp, title, wfeatures);
return false;
}