Update plugins/woocommerce/client/legacy/js/frontend/single-product.js

Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
This commit is contained in:
Samuele Mancuso 2023-06-16 09:22:38 +02:00 committed by GitHub
parent 3e82a8771b
commit 740b2a7424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ jQuery( function( $ ) {
$tabs_wrapper.find( '.wc-tab, .panel:not(.panel .panel)' ).hide();
$tab.closest( 'li' ).addClass( 'active' );
$tabs_wrapper.find( "#"+$tab.attr( 'href').split('#')[1] ).show();
$tabs_wrapper.find( '#' + $tab.attr( 'href' ).split( '#' )[1] ).show();
} )
// Review link
.on( 'click', 'a.woocommerce-review-link', function() {