Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of framagit.org:simgrid/simgrid
[simgrid.git] / docs / source / _ext / showfile.js
index 7dae2b12f794b2dcb4f484ecac1c73758ba644d4..a4edf3307c180f90046dcbe6e7f536be8d737b3a 100644 (file)
@@ -3,10 +3,10 @@ $(function() {
     /**
      * Toggle logic
      */
-    $('.toggle-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");
+    });
 });