Making WordPress.org

Changeset 5696


Ignore:
Timestamp:
07/19/2017 04:05:29 PM (8 years ago)
Author:
coffee2code
Message:

Trac: Ensure clicking the "WikiFormatting" link does not reload current page since the link is being opened in a new tab.

Props SergeyBiryukov.
Fixes #2906.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js

    r4805 r5696  
    252252                $( '#content.ticket' ).on( 'click', 'a[href$="wiki/WikiFormatting"]', function() {
    253253                    window.open( $( this ).attr( 'href' ) );
     254                    return false;
    254255                });
    255256
Note: See TracChangeset for help on using the changeset viewer.