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:
commit
3ce7d627f2
|
@ -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' );
|
||||||
|
|
Loading…
Reference in New Issue