From 03a80906213bc8efd92c87844cefea204bc0b0bc Mon Sep 17 00:00:00 2001 From: joyet simon <43644110+joyet-simon@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:00:58 +0100 Subject: [PATCH] fix: in page unmount --- src/assets/js/alma-checkout-in-page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assets/js/alma-checkout-in-page.js b/src/assets/js/alma-checkout-in-page.js index ea2b6a9b..591158d7 100644 --- a/src/assets/js/alma-checkout-in-page.js +++ b/src/assets/js/alma-checkout-in-page.js @@ -58,7 +58,7 @@ if (null !== installment) { if ( inPage !== undefined - && document.getElementById( 'alma-embedded-iframe' ) !== null + && document.querySelector( '[id^=alma-embedded-iframe]' ) !== null ) { inPage.unmount(); }