We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11799dc commit 5239678Copy full SHA for 5239678
2 files changed
src/components/BookmarkBar.ts
@@ -29,7 +29,7 @@ export const BookmarkBar = (): BookmarkBarComponent => {
29
// Add BookmarkNodes one at a time until they can't fit in the bookmark
30
// bar and then create a folder with the overflowing items
31
const resize = () => {
32
- // Remove all child nodes
+ // Remove child nodes
33
root.textContent = '';
34
35
let otherBookmarksFolder;
src/components/SearchResult.ts
@@ -49,10 +49,7 @@ export const SearchResult = <T extends LinkProps>(
49
append((isOpenTabs ? TabLink : Link)(item), frag);
50
});
51
52
53
- nodes.l.textContent = '';
54
-
55
- append(frag, nodes.l);
+ nodes.l.replaceChildren(frag);
56
57
root.hidden = !renderedLength;
58
nodes.m.hidden = renderedLength >= listData.length;
0 commit comments