Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Citizen.js: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
Line 24: Line 24:
});
});


// Helper: Expand any collapsed parent citizen-section containing the heading
// Expand any collapsed parent citizen-section containing the heading
function expandCitizenSectionFromHeading(heading) {
function expandCitizenSectionFromHeading(heading) {
   if (!heading) return;
   if (!heading) return;
Line 56: Line 56:




// Helper: True final scroll to real heading, after layout is ready
// Scroll to real heading, after layout is ready
function smoothScrollToHeading(heading) {
function smoothScrollToHeading(heading) {
   if (!heading) return;
   if (!heading) return;