Fix spelling errors
Submitted by: Jens of Fossies.org
This commit is contained in:
parent
cc2519b312
commit
fa1c02f4d4
|
@ -2,7 +2,7 @@ const ScreenReaderNotice = {
|
||||||
props: {
|
props: {
|
||||||
ariaLive: {
|
ariaLive: {
|
||||||
type: String,
|
type: String,
|
||||||
defualt: 'assertive'
|
default: 'assertive'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
|
|
|
@ -36,9 +36,9 @@ function subscribePush (registration, isEnabled, vapidPublicKey) {
|
||||||
|
|
||||||
function unsubscribePush (registration) {
|
function unsubscribePush (registration) {
|
||||||
return registration.pushManager.getSubscription()
|
return registration.pushManager.getSubscription()
|
||||||
.then((subscribtion) => {
|
.then((subscription) => {
|
||||||
if (subscribtion === null) { return }
|
if (subscription === null) { return }
|
||||||
return subscribtion.unsubscribe()
|
return subscription.unsubscribe()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue