Commit Graph

9 Commits

Author SHA1 Message Date
a88e525e6a Remove the parameter onload from reCaptcha script URL
When is reCaptcha rendered with onload callback,
sometimes the callback isn't defined yet due to race condition

[MAILPOET-3390]
2021-02-04 12:29:57 +01:00
aa450a2ebe Source reCAPTCHA API only when needed
When using a subscription form as an iframe, our CSP catched up that the reCAPTCHA API was included despite MailPoet being configured to use its internal CAPTCHA. The following change will only output the relevant <script> tag when MailPoet uses reCAPTCHA.
2021-01-13 12:08:41 +01:00
a7cea43aac Refactor form preview specific FE functionality to extra module
[MAILPOET-2811]
2020-05-27 11:23:02 +02:00
d615b607f6 Remove loading of unnecessary admin asset on frontend
[MAILPOET-2894]
2020-05-06 15:30:58 +02:00
6b5c0b706f Make sure the returned value is correct type
[MAILPOET-2716]
2020-04-24 11:44:09 +02:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
9e5b7b0320 Rename public.css to mailpoet-public.css
[MAILPOET-2482]
2020-01-08 15:36:25 +00:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
bb4bc76e78 Refactor form assets handling to separate class
[MAILPOET-2250]
2019-10-03 09:14:09 +01:00