Use strict checking

This commit is contained in:
Gerhard 2019-08-02 14:55:17 +02:00
parent 34e883ce81
commit 02f9c7c8ff
1 changed files with 1 additions and 1 deletions

View File

@ -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 );