mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
oops
This commit is contained in:
parent
c2b74f9bd9
commit
45da8dbb9d
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ export default function (client: ScramjetClient, self: Self) {
|
|||
|
||||
client.Trap("navigator.serviceWorker.controller", {
|
||||
get(ctx) {
|
||||
return registration.active;
|
||||
return registration?.active;
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue