From cd5cbb1e7888bb9f7006a6da6a4e0685d277ce6f Mon Sep 17 00:00:00 2001 From: msagolj Date: Wed, 9 Oct 2024 19:49:21 +0200 Subject: [PATCH] fix --- scripts/editor-support.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/editor-support.js b/scripts/editor-support.js index 6488e7d..3b32c0f 100644 --- a/scripts/editor-support.js +++ b/scripts/editor-support.js @@ -50,9 +50,6 @@ function setUEFilter(element, filter) { } function updateUEInstrumentation() { - const main = document.querySelector('main'); - - setUEFilter(main, 'main'); // if we are on a template page if (document.body.hasAttribute('data-aem-template')) {