Skip to content

Commit

Permalink
chore: Update docsearch.ts (#941)
Browse files Browse the repository at this point in the history
  • Loading branch information
donghoon-song committed Jul 12, 2023
1 parent 27c7139 commit e0565fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/integrations/docsearch.ts
Expand Up @@ -139,7 +139,7 @@ export default defineNuxtPlugin(() => {
return
}
const { pathname: hitPathname } = new URL(window.location.origin + hit.url)
// If the hits goes to another page, we prevent the native link behavior
// If the hits go to another page, we prevent the native link behavior
// to leverage the Vue Router loading feature.
if (route.path !== hitPathname) {
event.preventDefault()
Expand Down

0 comments on commit e0565fb

Please sign in to comment.