Merge pull request #26250 from mi5t4n/fix/26234
Hide only the tab content under the tab wrapper
This commit is contained in:
commit
14ddcbc8eb
|
@ -9,7 +9,7 @@ jQuery( function( $ ) {
|
|||
$( 'body' )
|
||||
// Tabs
|
||||
.on( 'init', '.wc-tabs-wrapper, .woocommerce-tabs', function() {
|
||||
$( '.wc-tab, .woocommerce-tabs .panel:not(.panel .panel)' ).hide();
|
||||
$( this ).find( '.wc-tab, .woocommerce-tabs .panel:not(.panel .panel)' ).hide();
|
||||
|
||||
var hash = window.location.hash;
|
||||
var url = window.location.href;
|
||||
|
|
Loading…
Reference in New Issue