Skip to content

Commit

Permalink
Merge branch 'main' into gnav
Browse files Browse the repository at this point in the history
  • Loading branch information
vhargrave committed Aug 28, 2024
2 parents ed750cd + bbdcc0b commit 52f3df6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions express/scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ function decorateHeroLCP(loadStyle, config, createTag, getMetadata) {
(jarvisVisibleMeta === 'mobile' && !desktopViewport) || (jarvisVisibleMeta === 'desktop' && desktopViewport))) CONFIG.jarvis.onDemand = false;

const config = setConfig({ ...CONFIG, miloLibs });

// TODO this if statement can be removed post migration
if (getMetadata('jpwordwrap:budoux-exclude-selector') === null && config.locale.ietf === 'ja-JP') {
const budouxExcludeSelector = createTag('meta', { property: 'jpwordwrap:budoux-exclude-selector', content: 'p' });
document.head.append(budouxExcludeSelector);
}
// Decorate the page with site specific needs.
decorateArea();

Expand Down

0 comments on commit 52f3df6

Please sign in to comment.