This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @version 1.0.0 | |
* @author (@colecmc) | |
* @param {number} incrementBy | |
* @returns {number} | |
* Gets highest z-index and adds 10 or adds number specified in parameter. | |
* Use this method sparingly as it can be a slow operation, potentially locking up the UI. | |
* Map over ALL elements to find the z-indexes. | |
* Filter out the elements where z-index is 'auto'. | |
* Reduce remaining elements down to the highest value, then add 10. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var RC2KEY = 'sitekey', | |
doSubmit = false; | |
function reCaptchaVerify(response) { | |
if (response === document.querySelector('.g-recaptcha-response').value) { | |
doSubmit = true; | |
} | |
} | |
function reCaptchaExpired () { |