Making WordPress.org

Changeset 302


Ignore:
Timestamp:
01/21/2014 03:15:08 AM (11 years ago)
Author:
nacin
Message:

Trac: Don't re-add image links after repeated postPreviewHacks calls.

File:
1 edited

Legend:

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

    r301 r302  
    6060                var href, el, image, appendTo,
    6161                    li = $(this);
     62                if ( li.parent().parent().find( '.trac-image-preview' ).length ) {
     63                    return;
     64                }
    6265                el = li.find('.trac-rawlink');
    6366                href = el.attr('href');
Note: See TracChangeset for help on using the changeset viewer.