diff --git a/components/common/CommonPaginator.vue b/components/common/CommonPaginator.vue index 638803c2dde..40086ed61bf 100644 --- a/components/common/CommonPaginator.vue +++ b/components/common/CommonPaginator.vue @@ -52,7 +52,7 @@ function percolateStatus(status) { addStatus(status) } -nuxtApp.hook('elk-logo:click', () => { +nuxtApp.hook('moz-logo:click', () => { update() nuxtApp.$scrollToTop() }) diff --git a/components/nav/NavTitle.vue b/components/nav/NavTitle.vue index 6c041b8a53a..d03ebe617ad 100644 --- a/components/nav/NavTitle.vue +++ b/components/nav/NavTitle.vue @@ -6,7 +6,7 @@ const back = ref('') const nuxtApp = useNuxtApp() function onClickLogo() { - nuxtApp.hooks.callHook('elk-logo:click') + nuxtApp.hooks.callHook('moz-logo:click') } onMounted(() => { diff --git a/nuxt.config.ts b/nuxt.config.ts index 0823ccb0dea..5c96b2d67d7 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -287,7 +287,7 @@ declare global { declare module '#app' { interface RuntimeNuxtHooks { - 'elk-logo:click': () => void + 'moz-logo:click': () => void } }