Merge pull request #18727 from pascalroget/patch-1

Allow Ctrl+Click
This commit is contained in:
Mike Jolley 2018-01-31 22:28:23 +00:00 committed by GitHub
commit 9f50c62fea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;