MediaWiki:Common.js: Difference between revisions
No edit summary Tag: Reverted |
mNo edit summary Tag: Reverted |
||
| Line 65: | Line 65: | ||
// Make the "Page" tab (ca-nstab-main) link to the previous page (i.e., 'Go Back') | // Make the "Page" tab (ca-nstab-main) link to the previous page (i.e., 'Go Back') | ||
$('#ca-nstab-main').show().find('a').attr('href', previousPage | $('#ca-nstab-main').show().find('a').attr('href', previousPage); // Update link to go to the previous page | ||
} else { | } else { | ||
// If not on the Discord page, reset the "Page" tab link back to Main Page | // If not on the Discord page, reset the "Page" tab link back to Main Page | ||