Skip to content

Commit 7de4b48

Browse files
authored
Merge pull request #706 from github/fix/samples-modal-close
Fix modal close button on samples page
2 parents a67f8da + 2c5d251 commit 7de4b48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

website/src/scripts/pages/samples.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import { FuzzySearch, type SearchableItem } from "../search";
66
import { fetchData, escapeHtml } from "../utils";
77
import { createChoices, getChoicesValues, type Choices } from "../choices";
8+
import { setupModal } from "../modal";
89

910
// Types
1011
interface Language {
@@ -82,6 +83,7 @@ export async function initSamplesPage(): Promise<void> {
8283
search = new FuzzySearch(allRecipes);
8384

8485
// Setup UI
86+
setupModal();
8587
setupFilters();
8688
setupSearch();
8789
renderCookbooks();

0 commit comments

Comments
 (0)