User:Polygnotus/Scripts/ReferenceHighlighter.js: Difference between revisions

Content deleted Content added
also highlight a b c
No edit summary
Line 15:
citationElement.addClass('reference-highlight');
// Highlight all the "Jump up to" links in the current reference
citationElement.find('.mw-cite-backlink a[href^="#cite_ref-' + baseId + '"]').each(function() {
$(this).addClass('reference-highlight');
});
// Highlight the clicked element differently