Skip to content

Commit

Permalink
feat: remove unnecessary sampleRUM.enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
kptdobe committed Oct 17, 2024
1 parent 7312419 commit 129e4ff
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
loadSection,
loadSections,
loadCSS,
sampleRUM,
} from './aem.js';

/**
Expand Down Expand Up @@ -82,8 +81,6 @@ async function loadEager(doc) {
await loadSection(main.querySelector('.section'), waitForFirstImage);
}

sampleRUM.enhance();

try {
/* if desktop (proxy for fast connection) or fonts already loaded, load fonts.css */
if (window.innerWidth >= 900 || sessionStorage.getItem('fonts-loaded')) {
Expand Down

0 comments on commit 129e4ff

Please sign in to comment.