You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this section needs to be corrected. It errors out if the CVV field is not present. Also the first .value line is redundant.
Current:
// CVV Number of Saved Card
// Bug fix: by craz3drunner (discord member)
document.getElementById("cvv").value = CREDITCARD_CVV;
document.getElementById("cvv").focus();
document.getElementById("cvv").select();
if (!document.execCommand('insertText',false, CREDITCARD_CVV)) {
document.getElementById("cvv").value = CREDITCARD_CVV;
}
I think this section needs to be corrected. It errors out if the CVV field is not present. Also the first .value line is redundant.
Current:
// CVV Number of Saved Card
// Bug fix: by craz3drunner (discord member)
document.getElementById("cvv").value = CREDITCARD_CVV;
document.getElementById("cvv").focus();
document.getElementById("cvv").select();
if (!document.execCommand('insertText',false, CREDITCARD_CVV)) {
document.getElementById("cvv").value = CREDITCARD_CVV;
}
New:
if(document.getElementById("cvv") != null) {
document.getElementById("cvv").focus();
document.getElementById("cvv").select();
if (!document.execCommand('insertText',false, CREDITCARD_CVV)) {
document.getElementById("cvv").value = CREDITCARD_CVV;
}
}
The text was updated successfully, but these errors were encountered: