Merge pull request #19886 from pierrebuet/master

Modify jQuery selector to include select tags
This commit is contained in:
Gerhard Potgieter 2018-04-30 14:12:19 +02:00 committed by GitHub
commit 0fe91711a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -333,7 +333,7 @@ jQuery( function( $ ) {
// Save payment details to a temporary object
var paymentDetails = {};
$( '.payment_box input' ).each( function() {
$( '.payment_box :input' ).each( function() {
var ID = $( this ).attr( 'id' );
if ( ID ) {
@ -360,7 +360,7 @@ jQuery( function( $ ) {
// Fill in the payment details if possible without overwriting data if set.
if ( ! $.isEmptyObject( paymentDetails ) ) {
$( '.payment_box input' ).each( function() {
$( '.payment_box :input' ).each( function() {
var ID = $( this ).attr( 'id' );
if ( ID ) {