commit: fa1c02f4d40a91e2c3333e1753290258ebf6c196
parent cc2519b312aa4d94cf8875196d79d89fa75a82b2
Author: Mark Felder <feld@feld.me>
Date: Wed, 17 Jul 2024 18:46:30 -0400
Fix spelling errors
Submitted by: Jens of Fossies.org
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/components/screen_reader_notice/screen_reader_notice.js b/src/components/screen_reader_notice/screen_reader_notice.js
@@ -2,7 +2,7 @@ const ScreenReaderNotice = {
props: {
ariaLive: {
type: String,
- defualt: 'assertive'
+ default: 'assertive'
}
},
data () {
diff --git a/src/services/sw/sw.js b/src/services/sw/sw.js
@@ -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()
})
}