We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e90a3a commit f49c10fCopy full SHA for f49c10f
1 file changed
assets/js/ctct-plugin-admin/settings.js
@@ -37,6 +37,9 @@ window.ctctsettings = {};
37
*/
38
that.bindEvents = () => {
39
const service = document.querySelector(that.cache.service);
40
+ if (null === service) {
41
+ return;
42
+ }
43
const recaptcha = document.querySelector(that.cache.recaptcha);
44
const hcaptcha = document.querySelector(that.cache.hcaptcha);
45
const turnstile = document.querySelector(that.cache.turnstile);
0 commit comments