diff --git a/config/jsdoc/api/template/static/scripts/main.js b/config/jsdoc/api/template/static/scripts/main.js index dbc21b54ce..64a36cd6e4 100644 --- a/config/jsdoc/api/template/static/scripts/main.js +++ b/config/jsdoc/api/template/static/scripts/main.js @@ -67,8 +67,8 @@ $(function () { }); // Toggle when click an item element - $('.navigation').on('click', '.title', function (e) { - $(this).parent().find('.itemMembers').toggle(); + $('.navigation').on('click', '.toggle', function (e) { + $(this).parent().parent().find('.itemMembers').toggle(); }); // Show an item related a current documentation automatically diff --git a/config/jsdoc/api/template/tmpl/navigation.tmpl b/config/jsdoc/api/template/tmpl/navigation.tmpl index bb1aac7d8b..efec83c155 100644 --- a/config/jsdoc/api/template/tmpl/navigation.tmpl +++ b/config/jsdoc/api/template/tmpl/navigation.tmpl @@ -15,9 +15,9 @@ function toShortName(name) {