Use strict checking
This commit is contained in:
parent
34e883ce81
commit
02f9c7c8ff
|
@ -74,7 +74,7 @@ jQuery( function ( $ ) {
|
||||||
var $option = $( '<option></option>' )
|
var $option = $( '<option></option>' )
|
||||||
.prop( 'value', index )
|
.prop( 'value', index )
|
||||||
.text( state[ index ] );
|
.text( state[ index ] );
|
||||||
if ( index == stateValue ) {
|
if ( index === stateValue ) {
|
||||||
$option.prop( 'selected' );
|
$option.prop( 'selected' );
|
||||||
}
|
}
|
||||||
$newstate.append( $option );
|
$newstate.append( $option );
|
||||||
|
|
Loading…
Reference in New Issue