Skip to content

Commit

Permalink
Enabling showSubResults in the PageFind UI
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewNichols committed Feb 23, 2024
1 parent 4b6b143 commit 4406cb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/client-side/page-search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ const PagefindSearchKey = "pagefind-search";
function setupPagefindUI() {
const pagefindUIInstance = new PagefindUI({
element: "#search",
showImages: false
showImages: false,
showSubResults: true
});

const searchInput = window.document.querySelector<HTMLInputElement>("#search .pagefind-ui__search-input")!;
Expand Down

0 comments on commit 4406cb3

Please sign in to comment.