From 3964e28a38eb2005124166ab8381248461f9e35d Mon Sep 17 00:00:00 2001 From: Pascal Roget Date: Wed, 31 Jan 2018 14:14:17 -0800 Subject: [PATCH] Allow Ctrl+Click Restores ctrl+click opens new background tab behavior in Firefox, Chrome and Opera. --- assets/js/admin/wc-orders.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/admin/wc-orders.js b/assets/js/admin/wc-orders.js index e672e2761a5..2cbc2300be2 100644 --- a/assets/js/admin/wc-orders.js +++ b/assets/js/admin/wc-orders.js @@ -28,7 +28,7 @@ jQuery( function( $ ) { if ( href.length ) { e.preventDefault(); - if ( e.metaKey ) { + if ( e.metaKey || e.ctrlKey ) { window.open( href, '_blank' ); } else { window.location = href;