mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +01:00
Fixed hiding of search on file://
This commit is contained in:
parent
dac469eace
commit
19ab065236
@ -292,7 +292,11 @@ export function initialize(config: unknown) {
|
||||
shareReplay(1)
|
||||
)
|
||||
}),
|
||||
catchError(() => NEVER)
|
||||
catchError(() => {
|
||||
useComponent("search")
|
||||
.subscribe(el => el.hidden = true) // TODO: Hack
|
||||
return NEVER
|
||||
})
|
||||
)
|
||||
|
||||
/* ----------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user