Skip to content

Commit 60ac8b5

Browse files
committed
fix privacy choices modal not opening on introduction and libraries pages
1 parent 8e46978 commit 60ac8b5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/website/introduction/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
import { setupHighlighting } from "../highlighting.js";
1+
import { CCPAModal } from "../ccpa-modal.js";
22
import { setupJwtCounter } from "../counter.js";
3+
import { setupHighlighting } from "../highlighting.js";
34
import { TopBanner } from "../top-banner.js";
45

56
// Initialization
67
setupHighlighting();
78
setupJwtCounter();
9+
CCPAModal();
810
TopBanner();

src/website/libraries/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
import { setupLibraries } from "./libraries.js";
2-
import { setupHighlighting } from "../highlighting.js";
1+
import { CCPAModal } from "../ccpa-modal.js";
32
import { setupJwtCounter } from "../counter.js";
3+
import { setupHighlighting } from "../highlighting.js";
44
import { TopBanner } from "../top-banner.js";
5+
import { setupLibraries } from "./libraries.js";
56

67
// Initialization
78
setupLibraries();
89
setupHighlighting();
910
setupJwtCounter();
11+
CCPAModal();
1012
TopBanner();

0 commit comments

Comments
 (0)