Fixed observable completion semantics

This commit is contained in:
squidfunk
2021-11-28 14:54:14 +01:00
parent abe475e151
commit c30c3d196e
55 changed files with 493 additions and 1347 deletions

View File

@@ -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 */