Cimitero:MediaWiki:Common.js: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
Contenuto aggiunto Contenuto cancellato
mNessun oggetto della modifica
m (Molto meglio)
Riga 1 541: Riga 1 541:
});
});
var ref = $('#cite_note-' + id.replace(/_(\d+)-\d+$/, '-$1') + ' span.reference-text').html();
var ref = $('#cite_note-' + id.replace(/_(\d+)-\d+$/, '-$1') + ' span.reference-text').html();
ref = ref.replace('&lt;', '<').replace('&gt;', '>').replace('&quot;', '"');
if(!ref) {
if(!ref) {
return;
return;
}
}
span.text(ref);
span.html(ref);
if($(this).position().left < $('#bodyContent').width() / 2) {
if($(this).position().left < $('#bodyContent').width() / 2) {
span.css('left', ($(this).width() - 1) + 'px');
span.css('left', ($(this).width() - 1) + 'px');