Merge branch 'speling' into 'develop'
Fix spelling errors See merge request pleroma/pleroma-fe!1921
This commit is contained in:
commit
f0f323b49c
|
@ -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