File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " honeycomb-web-toolkit" ,
3- "version" : " 14.3.14 " ,
3+ "version" : " 14.3.15 " ,
44 "repository" : {
55 "type" : " git" ,
66 "url" : " https://github.com/red-gate/honeycomb-web-toolkit"
Original file line number Diff line number Diff line change @@ -135,21 +135,6 @@ const formatCheckboxes = form => {
135135 }
136136} ;
137137
138- /**
139- * Move the Google reCaptcha privacy notice into our privacy notice block.
140- * Currently this notice only shows up on selected forms.
141- *
142- * @param {HTMLElement } form The Marketo form
143- */
144- const formatReCaptchaPrivacyNotice = form => {
145- const reCaptchaPrivacyNotice = form . querySelector ( '.mktoCaptchaDisclaimer' ) ;
146- const privacyNoticeBlock = form . querySelector ( '.mktoPrivacyNotice div' ) ;
147-
148- if ( ! reCaptchaPrivacyNotice || ! privacyNoticeBlock ) return ;
149-
150- privacyNoticeBlock . appendChild ( reCaptchaPrivacyNotice ) ;
151- } ;
152-
153138const create = c => {
154139
155140 // Get the config for the form.
@@ -173,7 +158,6 @@ const create = c => {
173158
174159 removeDefaultStyles ( ) ;
175160 formatCheckboxes ( marketoFormElement ) ;
176- formatReCaptchaPrivacyNotice ( marketoFormElement ) ;
177161
178162 // Replicate default Google Analytics `form_submit` event.
179163 marketoForm . onSuccess ( ( ) => {
You can’t perform that action at this time.
0 commit comments