Skip to content

Commit

Permalink
Merge pull request #134 from adobe/add-lang
Browse files Browse the repository at this point in the history
chore: add lang
  • Loading branch information
davidnuescheler authored Oct 14, 2022
2 parents 10c3778 + c01268b commit 1ed70e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export function decorateMain(main) {
* loads everything needed to get to LCP.
*/
async function loadEager(doc) {
document.documentElement.lang = 'en';
decorateTemplateAndTheme();
const main = doc.querySelector('main');
if (main) {
Expand Down

0 comments on commit 1ed70e4

Please sign in to comment.