Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
msagolj committed Oct 9, 2024
1 parent dfe6e04 commit d43b0aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/editor-support.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ function setUEFilter(element, filter) {
function updateUEInstrumentation() {
// ----- if browse page, identified by theme
if (document.body.hasAttribute('data-aem-template')) {
document.createRange().createContextualFragment(`
const banner = document.createRange().createContextualFragment(`

Check failure on line 55 in scripts/editor-support.js

View workflow job for this annotation

GitHub Actions / build

Multiple spaces found before 'document'
<div class='template-banner'>
${document.body.dataset.aemTemplate}
</div`);
document.body.append(banner);
}
}

Expand Down

0 comments on commit d43b0aa

Please sign in to comment.