mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-28 00:32:42 -04:00
Fixed observable completion semantics
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
import "focus-visible"
|
||||
import {
|
||||
EMPTY,
|
||||
NEVER,
|
||||
Subject,
|
||||
defer,
|
||||
@@ -198,13 +199,13 @@ const content$ = defer(() => merge(
|
||||
|
||||
/* Content */
|
||||
...getComponentElements("content")
|
||||
.map(el => mountContent(el, { target$, viewport$, hover$, print$ })),
|
||||
.map(el => mountContent(el, { target$, hover$, print$ })),
|
||||
|
||||
/* Search highlighting */
|
||||
...getComponentElements("content")
|
||||
.map(el => feature("search.highlight")
|
||||
? mountSearchHiglight(el, { index$, location$ })
|
||||
: NEVER
|
||||
: EMPTY
|
||||
),
|
||||
|
||||
/* Header title */
|
||||
|
||||
Reference in New Issue
Block a user