X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5089a0a98b27f5eeee62321dff4f025f1648f025..HEAD:/docs/source/_ext/showfile.js diff --git a/docs/source/_ext/showfile.js b/docs/source/_ext/showfile.js index fd8ae6c4b8..a4edf3307c 100644 --- a/docs/source/_ext/showfile.js +++ b/docs/source/_ext/showfile.js @@ -3,10 +3,10 @@ $(function() { /** * Toggle logic */ - $('.hidden-content').hide() - $('.toggle-header').click(function () { + $(".hidden-content").hide(); + $(".toggle-header").click(function () { $(this).toggleClass("open"); - $(this).next('.toggle-content').toggle('400'); - }) + $(this).next(".toggle-content").toggle("400"); + }); });