MediaWiki:Common.js: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 280:
/* ======================================================= */
/* FLOATING TOC: CLICK TITLE TO SCROLL TO TOP
/* ======================================================= */
$(document).ready(function() {
//
$(
// 1.
e.preventDefault();
e.stopPropagation();
//
// 3. Close the TOC Overlay so you can see the top of the page
$('#cps-toc-overlay').removeClass('is-open');
});
});
| |||