Merge pull request #30640 from woocommerce/fix/30264

Add additional context to have browse all products open in new tab cl…
This commit is contained in:
Barry Hughes 2021-09-08 12:05:10 -07:00 committed by GitHub
commit 3ce7d627f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,8 @@
var newTabContexts = [ var newTabContexts = [
'product-edit-meta-tab-header', 'product-edit-meta-tab-header',
'product-edit-meta-tab-footer', 'product-edit-meta-tab-footer',
'product-edit-meta-tab-body' 'product-edit-meta-tab-body',
'products-list-empty-footer'
]; ];
if ( _.includes( newTabContexts, context ) ) { if ( _.includes( newTabContexts, context ) ) {
linkoutButton.setAttribute( 'target', 'blank' ); linkoutButton.setAttribute( 'target', 'blank' );