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

Content deleted Content added
No edit summary
No edit summary
Line 183:
if ( window.pg ) {
disableRt();
return;
}
if ( this.tooltip && !this.tooltip.$content.length ) {
return;
}
Line 555 ⟶ 559:
this.$content = this.te.$ref
.contents()
.filter( function ( i ) {
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 this=== ).find(1 'a'&& ).attr$( 'href' )this.indexOfis( '#refb' ) === 0) )
);
} )