WordPress.org

Making WordPress.org

Changeset 1987


Ignore:
Timestamp:
10/17/2015 05:17:48 AM (6 years ago)
Author:
nacin
Message:

Trac: Inline SVG previews. fixes #801.

File:
1 edited

Legend:

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

    r1973 r1987  
    112112                el = li.find('.trac-rawlink');
    113113                href = el.attr('href');
    114                 if ( ! href.match(/\.(jpg|jpeg|png|gif)$/i) ) {
     114                if ( ! href.match(/\.(jpg|jpeg|png|gif|svg)$/i) ) {
    115115                    return;
    116116                }
Note: See TracChangeset for help on using the changeset viewer.