@ampify/aquery
Advanced tools
Comparing version 1.5.5 to 1.5.6
{ | ||
"name": "@ampify/aquery", | ||
"version": "1.5.5", | ||
"version": "1.5.6", | ||
"main": "./dist/aquery.js", | ||
@@ -37,3 +37,3 @@ "module": "./src", | ||
}, | ||
"gitHead": "2770d64936fd4399428e087e9aa24edf33f07c5e" | ||
"gitHead": "7493696d9129abcc6d2438daf6db9a1ba548502d" | ||
} |
@@ -60,3 +60,3 @@ import datePicker from './datePicker'; | ||
if (recaptcha) { | ||
const captcha = form.querySelector(recaptcha); | ||
const captcha = form.querySelector(recaptcha[0]); | ||
const newCaptcha = document.createElement('amp-recaptcha-input'); | ||
@@ -66,6 +66,3 @@ newCaptcha.setAttribute('layout', 'nodisplay'); | ||
//TODO dynamic sitekey | ||
newCaptcha.setAttribute( | ||
'data-sitekey', | ||
'6LdXIUgaAAAAADREPhz4pHolO3617JfN0G-g_VPL', | ||
); | ||
newCaptcha.setAttribute('data-sitekey', recaptcha[1]); | ||
newCaptcha.setAttribute('data-action', 'recaptcha_example'); | ||
@@ -72,0 +69,0 @@ captcha.parentNode.replaceChild(newCaptcha, captcha); |
@@ -53,3 +53,3 @@ import randomId from '../randomId'; | ||
$.injectCss(` | ||
amp-lightbox {background-color: rgba(0 0 0 / 50%); z-index: 999999999999 !important;} | ||
amp-lightbox {background-color: rgba(0 0 0 / 50%);} | ||
amp-lightbox > div {padding-top:35%;} | ||
@@ -56,0 +56,0 @@ amp-lightbox .align-content-center {width:318px; margin:auto} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48912
1546