User:Ronelm2000/Scripts/MobileCollapsible.js

/* Creates a mobile version of Collapsible that is fairly usable. Rather than recreate mw-collapsible, I'm going to instead make a CSS version.

...

or at least that was the plan. I should probably just copy/paste the one used by default for consistency.

$(function {   // Wait for the page to be parsed    $( document ).ready( function  { $( "div.mw-collapsible").each(function(mwic, value) {   		$(this).wrap(` `);    		$(this).before(`  `);   	});    }); });