Take full screen if width and height are not supplied

This commit is contained in:
EpicKiwi 2023-09-15 12:02:27 +02:00
parent 050f887398
commit 74e8731fa4
Signed by: epickiwi
GPG Key ID: C4B28FD2729941CE

View File

@ -90,6 +90,6 @@ async function getRegistration(name){
const args = new URLSearchParams(location.search); const args = new URLSearchParams(location.search);
init( init(
args.get("name"), args.get("name"),
parseInt(args.get("width")), parseInt(args.get("width") || window.innerWidth),
parseInt(args.get("height")) parseInt(args.get("height") || window.innerHeight)
) )