mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-03 03:10:07 -04:00
Fixed empty search highlighting breaking site
This commit is contained in:
@@ -81,7 +81,7 @@ export function mountSearchHiglight(
|
||||
location$
|
||||
.pipe(
|
||||
startWith(getLocation()),
|
||||
filter(url => url.searchParams.has("h"))
|
||||
filter(url => !!url.searchParams.get("h"))
|
||||
)
|
||||
])
|
||||
.pipe(
|
||||
|
||||
Reference in New Issue
Block a user