MediaWiki:Gadget-cambusa.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
fix selector per visualeditor
m this non necessario
Riga 202:
function addLinks() {
$( 'span.mw-editsection > a:last-of-type' ).each( function ( i, el ) {
var $link, sectiontitle = $( thisel ).attr( 'title' ).split( 'Modifica la sezione ' )[1];
$link = $( '<a>' )
.attr( 'href', '#' )
Riga 214:
} );
} );
$( thisel ).after( '<span> | </span>', $link );
} );
inited = true;