From 02f9c7c8ff8e1a695fd5c26d4a44a2382db967d8 Mon Sep 17 00:00:00 2001 From: Gerhard Date: Fri, 2 Aug 2019 14:55:17 +0200 Subject: [PATCH] Use strict checking --- assets/js/admin/meta-boxes-order.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/admin/meta-boxes-order.js b/assets/js/admin/meta-boxes-order.js index 6859786c31f..9c243d0a810 100644 --- a/assets/js/admin/meta-boxes-order.js +++ b/assets/js/admin/meta-boxes-order.js @@ -74,7 +74,7 @@ jQuery( function ( $ ) { var $option = $( '' ) .prop( 'value', index ) .text( state[ index ] ); - if ( index == stateValue ) { + if ( index === stateValue ) { $option.prop( 'selected' ); } $newstate.append( $option );