Ticket #28732: 28732.patch
File 28732.patch, 668 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/js/theme.js
443 443 // Set focused theme to current element 444 444 themes.focusedTheme = this.$el; 445 445 446 // If a user ctrl, cmd or middle mouse clicks then open theme details 447 // in new tab instead of showing the modal 448 if ( event.metaKey || event.ctrlKey || 2 === event.which ) { 449 var href = themes.router.baseUrl( themes.router.themePath + self.model.cid ); 450 window.open( href, '_blank' ); 451 return; 452 } 453 446 454 this.trigger( 'theme:expand', self.model.cid ); 447 455 }, 448 456