IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
47 | 47 | |
48 | 48 | // Store a reference to the link that opened the Customizer. |
49 | 49 | Loader.link = $(this); |
| 50 | |
| 51 | // If a user ctrl, cmd or middle mouse clicks then open customizer |
| 52 | // in new tab instead of showing the modal |
| 53 | if ( event.metaKey || event.ctrlKey || 2 === event.which ) { |
| 54 | var href = Loader.link.attr('href') |
| 55 | window.open( href, '_blank' ); |
| 56 | return; |
| 57 | } |
| 58 | |
50 | 59 | // Load the theme. |
51 | 60 | Loader.open( Loader.link.attr('href') ); |
52 | 61 | }); |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
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 | |
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
516 | 516 | <div class="theme-backdrop"></div> |
517 | 517 | <div class="theme-wrap"> |
518 | 518 | <div class="theme-header"> |
519 | | <button type="button" class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></button> |
520 | | <button type="button" class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></button> |
521 | | <button type="button" class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close details dialog' ); ?></span></button> |
| 519 | <a class="left dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show previous theme' ); ?></span></a> |
| 520 | <a class="right dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Show next theme' ); ?></span></a> |
| 521 | <a class="close dashicons dashicons-no"><span class="screen-reader-text"><?php _e( 'Close details dialog' ); ?></span></a> |
522 | 522 | </div> |
523 | 523 | <div class="theme-about"> |
524 | 524 | <div class="theme-screenshots"> |