aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/ApiIndex.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/ApiIndex.vue b/docs/api/ApiIndex.vue
index 6500ae69..53e89c49 100644
--- a/docs/api/ApiIndex.vue
+++ b/docs/api/ApiIndex.vue
@@ -60,7 +60,7 @@ function apiSearchFocusHandler(event: KeyboardEvent): void {
if (!item) return;
const header = item.headers[0];
if (!header) return;
- window.location.href = item.link + '.html#' + slugify(header.anchor);
+ window.location.href = item.link + '#' + slugify(header.anchor);
} else if (
/^[a-z]$/.test(event.key) &&
!event.altKey &&