diff --git a/src/components/screen_reader_notice/screen_reader_notice.js b/src/components/screen_reader_notice/screen_reader_notice.js index 3b8eaf3721..794b855ace 100644 --- 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 index 554cc7b838..b25f6328da 100644 --- 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() }) }