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);
|
||||
init(
|
||||
args.get("name"),
|
||||
parseInt(args.get("width")),
|
||||
parseInt(args.get("height"))
|
||||
parseInt(args.get("width") || window.innerWidth),
|
||||
parseInt(args.get("height") || window.innerHeight)
|
||||
)
|
Loading…
Reference in New Issue
Block a user