User:Jack who built the house/Gadget-referenceTooltips.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 560:
.contents()
.filter( function ( i ) {
var $this = $( this );
return this.nodeType === Node.TEXT_NODE ||
!( $( this ).is( '.mw-cite-backlink, .mw-cite-up-arrow, .mw-cite-up-arrow-backlink, .mw-cite-targeted-backlink' ) ||
( i === 0 && $( this ).is( 'b' ) ) ||
( i === 0 && $( this ).is( 'a' ) && $( this ).attr( 'href' ).indexOf( '#ref' ) === 0 )
);
} )