Making WordPress.org

Changeset 303


Ignore:
Timestamp:
01/22/2014 04:55:16 AM (10 years ago)
Author:
nacin
Message:

Trac: Open WikiFormatting links in a new window. see #290.

File:
1 edited

Legend:

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

    r302 r303  
    138138                    });
    139139                })();
     140
     141                // Open WikiFormatting links in a new window.
     142                $( '#content.ticket' ).on( 'click', 'a[href$="wiki/WikiFormatting"]', function() {
     143                    window.open( $( this ).attr( 'href' ) );
     144                });
    140145            }
    141146
Note: See TracChangeset for help on using the changeset viewer.