Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 360: | Line 360: | ||
} | } | ||
− | + | function collapseAll() { | |
− | + | $(".mw-collapsible").addClass("mw-collapsed") | |
− | + | $(".mw-collapsible").load(location.href + " .mw-collapsible"); | |
+ | } | ||
// function collapseAll() { | // function collapseAll() { | ||
Line 369: | Line 370: | ||
// } | // } | ||
− | $(document).ready(function(){ | + | // $(document).ready(function(){ |
− | + | // $("button").click(function(){ | |
− | + | // $(".mw-collapsible").toggleClass("mw-collapsed"); | |
− | + | // }); | |
− | }); | + | // }); |
// $(document).on('click', '.DoFirst', function() { | // $(document).on('click', '.DoFirst', function() { |
Revision as of 00:23, 13 March 2021