Template:Ways to Give/CountrySelect: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
load and run makeCollapsible on mobile
document ready
Line 32: Line 32:
<script>
<script>
/* Need to do this as it isn't loaded by default on mobile */
/* Need to do this as it isn't loaded by default on mobile */
mw.loader.using('jquery.makeCollapsible', function() {
$(document).ready(function() {
mw.loader.using('jquery.makeCollapsible', function() {
$('.mw-collapsible').makeCollapsible();
$('.mw-collapsible').makeCollapsible();
});
});
});
</script>
</script>

Revision as of 04:50, 7 December 2014