Take full screen if width and height are not supplied
This commit is contained in:
parent
050f887398
commit
74e8731fa4
@ -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)
|
||||||
)
|
)
|
Loading…
Reference in New Issue
Block a user