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: {
|
||||
ariaLive: {
|
||||
type: String,
|
||||
defualt: 'assertive'
|
||||
default: 'assertive'
|
||||
}
|
||||
},
|
||||
data () {
|
||||
|
|
|
@ -36,9 +36,9 @@ function subscribePush (registration, isEnabled, vapidPublicKey) {
|
|||
|
||||
function unsubscribePush (registration) {
|
||||
return registration.pushManager.getSubscription()
|
||||
.then((subscribtion) => {
|
||||
if (subscribtion === null) { return }
|
||||
return subscribtion.unsubscribe()
|
||||
.then((subscription) => {
|
||||
if (subscription === null) { return }
|
||||
return subscription.unsubscribe()
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue