Fix spelling errors

Submitted by: Jens of Fossies.org
This commit is contained in:
Mark Felder 2024-07-17 18:46:30 -04:00
parent cc2519b312
commit fa1c02f4d4
2 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@ const ScreenReaderNotice = {
props: { props: {
ariaLive: { ariaLive: {
type: String, type: String,
defualt: 'assertive' default: 'assertive'
} }
}, },
data () { data () {

View file

@ -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()
}) })
} }