From 1ce78a08c52ce292640b5053476ea9c155065156 Mon Sep 17 00:00:00 2001 From: Jason Slavin Date: Mon, 13 Jan 2025 00:23:59 -0800 Subject: [PATCH] MWPW-163166: Enables scroll to on ungated forms (#3437) Setting a scroll value to true --- libs/blocks/marketo/marketo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/blocks/marketo/marketo.js b/libs/blocks/marketo/marketo.js index bb3e8fc414..7f27eeae7c 100644 --- a/libs/blocks/marketo/marketo.js +++ b/libs/blocks/marketo/marketo.js @@ -229,7 +229,7 @@ export default function init(el) { if (formData[SUCCESS_TYPE] === 'section' && ungated) { el.classList.add('hide-block'); - showSuccessSection(formData, false); + showSuccessSection(formData, true); return; }