MediaWiki:Common.js: Difference between revisions

Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: →‎Implementing JavaScript for Interactivity: document.addEventListener('DOMContentLoaded', function() { var collapsibles = document.querySelectorAll('.collapsible'); collapsibles.forEach(function(collapsible) { collapsible.addEventListener('click', function() { this.classList.toggle('collapsed'); var content = this.nextElementSibling; if (con..."
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: →‎Implementing JavaScript for Interactivity: document.addEventListener('DOMContentLoaded', function() { var collapsibles = document.querySelectorAll('.collapsible'); collapsibles.forEach(function(collapsible) { collapsible.addEventListener('click', function() { this.classList.toggle('collapsed'); var content = this.nextElementSibling; if (con...")
(No difference)