Update deprecated jQuery functions for country-select.js

This commit is contained in:
roykho 2021-02-04 10:24:31 -08:00 committed by Jonathan Sadowski
parent b23d218a37
commit a5409a8ca1
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ jQuery( function( $ ) {
$( this ) $( this )
.on( 'select2:select', function() { .on( 'select2:select', function() {
$( this ).focus(); // Maintain focus after select https://github.com/select2/select2/issues/4384 $( this ).trigger( 'focus' ); // Maintain focus after select https://github.com/select2/select2/issues/4384
} ) } )
.selectWoo( select2_args ); .selectWoo( select2_args );
}); });