davidshimjs / jaguarjs-jsdoc

A Template of jsdoc for jaguar.js project
MIT License
218 stars 136 forks source link

keep it open #16

Open yathit opened 10 years ago

yathit commented 10 years ago

Left sidebar menu don't expend upon clicking class title. Amend main.js to fix

// Toggle when click an item element
$('.navigation').on('click', '.title', function (e) {
  e.preventDefault();
    $(this).parent().find('.itemMembers').toggle();
});
webnard commented 10 years ago

This stops the class' page from loading, which can be problematic if a class doesn't have any members—then there is no way to access the class page.