MediaWiki:Minerva.js: Difference between revisions
Created page with "→All JavaScript here will be loaded for users of the MinervaNeue skin: document.addEventListener('DOMContentLoaded', function () { var tocButton = document.querySelector('.minerva-toc-toggle, #minerva-toc-button, #toc-button'); if (tocButton) { tocButton.addEventListener('click', function () { console.log('TOC button clicked!'); alert('TOC button clicked!'); // You can remove this later }); } else { consol..." |
m Protected "MediaWiki:Minerva.js" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* All JavaScript here will be loaded for users of the MinervaNeue skin */ | /* All JavaScript here will be loaded for users of the MinervaNeue skin */ | ||