[wp-meta] [Making WordPress.org] #844: Don't prevent opening themes in new tabs

Making WordPress.org noreply at wordpress.org
Fri Feb 6 00:35:17 UTC 2015


#844: Don't prevent opening themes in new tabs
------------------------+------------------------------
Reporter:  jancbeck     |      Owner:
    Type:  enhancement  |     Status:  new
Priority:  normal       |  Component:  Themes Directory
Keywords:               |
------------------------+------------------------------
 The single theme overlay screen looks gorgeous, however, at times I like
 to inspect a couple of themes within multiple browser tabs to better
 compare them side-by-side. What I do is I CMD + Click (Mac) on each of the
 themes in the result list and I expect each of these to open in a new
 browser tab just like with any other hyperlink. What happens instead is
 that the single theme overlay opens in the same tab I'm currently in.

 In theme.js around line 61 there should be a check if the user has
 currently pressed the CMD or CTRL key and if that's the case
 {{{
 event.preventDefault();
 }}}
 should not run. Ideally it should also check for a mousedown event of the
 middle mouse button since that triggers a new tab in most browsers I'm
 aware of.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/844>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list