1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-08 08:24:19 +01:00

fix: fix null reference error in Safari/Edge (#618)

fixes #617
This commit is contained in:
Nolan Lawson 2018-11-05 08:28:38 -08:00 committed by GitHub
parent 4519a3fe2d
commit 4fe0cf3f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
export function notificationPermissionObservers (store) { export function notificationPermissionObservers (store) {
if (!process.browser) { if (!process.browser || !navigator.permissions || !navigator.permissions.query) {
return return
} }