From b8b9a9cf00ef997553dae07751e80f55b77b5715 Mon Sep 17 00:00:00 2001 From: Jan Ivan Viloria <158211769+ivanvatadobe@users.noreply.github.com> Date: Tue, 14 May 2024 12:57:27 -0400 Subject: [PATCH] Update libs/mep/dc0944/aside/aside.js Co-authored-by: Robert Bogos <146744221+robert-bogos@users.noreply.github.com> --- libs/mep/dc0944/aside/aside.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/mep/dc0944/aside/aside.js b/libs/mep/dc0944/aside/aside.js index 5af76f777f..079172d0ba 100644 --- a/libs/mep/dc0944/aside/aside.js +++ b/libs/mep/dc0944/aside/aside.js @@ -115,8 +115,7 @@ function addCloseButton(el) { } function addPromobar(sourceEl, parent) { - const newPromo = sourceEl.cloneNode(true); - parent.appendChild(newPromo); + parent.appendChild(sourceEl.cloneNode(true)); } function checkViewportPromobar(foreground) {