
FAIR is a non-profit organization dedicated to providing well-documented answers to criticisms of the doctrine, practice, and history of The Church of Jesus Christ of Latter-day Saints.
SpencerMarsh (talk | contribs) m (Reverted edit by SpencerMarsh (talk) to last revision by MikeParker) Tags: Blanking Rollback |
MikeParker (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
// Collapse Notes section when clicking on back-to-text links from references | |||
$(document).on('click', '.mw-cite-backlink a, .references .cite-backlink a, ol.references a[href^="#cite_ref-"]', function(e) { | |||
// Check if Notes content exists and is visible | |||
if (notesContent.length > 0 && notesContent.is(':visible')) { | |||
// Collapse the Notes section | |||
notesContent.slideUp(150); | |||
} | |||
// Allow the link to work normally (don't prevent default) - it will scroll to the citation in the text | |||
}); | |||
// Collapse Notes section when clicking on back-to-text links from references
$(document).on('click', '.mw-cite-backlink a, .references .cite-backlink a, ol.references a[href^="#cite_ref-"]', function(e) {
// Check if Notes content exists and is visible
if (notesContent.length > 0 && notesContent.is(':visible')) {
// Collapse the Notes section
notesContent.slideUp(150);
}
// Allow the link to work normally (don't prevent default) - it will scroll to the citation in the text
});

FAIR is a non-profit organization dedicated to providing well-documented answers to criticisms of the doctrine, practice, and history of The Church of Jesus Christ of Latter-day Saints.
We are a volunteer organization. We invite you to give back.
Donate Now