Skip to content

Commit

Permalink
MWPW-155385: Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zagi25 committed Aug 9, 2024
1 parent c8014f5 commit a28db8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edsdme/scripts/personalization.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function personalizePage(page) {
}

export function applyPagePersonalization() {
const main = document.querySelector('main');
const main = document.querySelector('main') ?? document;
personalizePlaceholders(PAGE_PERSONALIZATION_PLACEHOLDERS, main);
personalizePage(main);
}

0 comments on commit a28db8a

Please sign in to comment.