Skip to content

Commit

Permalink
Fixed jQuery selector
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Jul 29, 2020
1 parent 97c7937 commit 94f8d2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/admin/meta-boxes-product.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jQuery( function( $ ) {

// Type box.
if ( $( 'body' ).hasClass( 'wc-wp-version-gte-55' ) ) {
$( '.type_box' ).appendTo( ' #woocommerce-product-data .hndle' );
$( '.type_box' ).appendTo( '#woocommerce-product-data .hndle' );
} else {
$( '.type_box' ).appendTo( ' #woocommerce-product-data .hndle span' );
$( '.type_box' ).appendTo( '#woocommerce-product-data .hndle span' );
}

$( function() {
Expand Down

0 comments on commit 94f8d2d

Please sign in to comment.