Skip to content

Commit

Permalink
MWPW-163166: Enables scroll to on ungated forms (#3437)
Browse files Browse the repository at this point in the history
Setting a scroll value to true
  • Loading branch information
JasonHowellSlavin authored Jan 13, 2025
1 parent e01e1bf commit 1ce78a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/marketo/marketo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1ce78a0

Please sign in to comment.