Comment 2 for bug 1734075

Revision history for this message
binoy m v (binoy.v) wrote :

We can solve this bug by adding jquery code into the docs.js file.

//Toggle api details section.
$(".detail-control").addClass('collapse');
$("#expand-all").click(function () {
  $(".detail-control").toggleClass('collapse');
  $(this).text("Hide All");
});

In the above code hiding all the api section first and when we click on the "Show All" button it shows all the api section and changing the button text to "Hide All".