diff --git a/config/jsdoc/api/template/static/scripts/main.js b/config/jsdoc/api/template/static/scripts/main.js index 84f6ffb542..9a368453c6 100644 --- a/config/jsdoc/api/template/static/scripts/main.js +++ b/config/jsdoc/api/template/static/scripts/main.js @@ -57,8 +57,8 @@ $(function () { var unstable = $('.unstable'); var stabilityToggle = $('#stability-toggle'); stabilityToggle.change(function() { - unstable.toggle(!this.checked); + unstable.toggleClass('hidden', this.checked); return false; }); - unstable.toggle(!stabilityToggle[0].checked); + unstable.toggleClass('hidden', stabilityToggle[0].checked); }); diff --git a/config/jsdoc/api/template/static/styles/jaguar.css b/config/jsdoc/api/template/static/styles/jaguar.css index c3f55f84b7..b44fadeff4 100644 --- a/config/jsdoc/api/template/static/styles/jaguar.css +++ b/config/jsdoc/api/template/static/styles/jaguar.css @@ -372,7 +372,7 @@ footer { .main .readme table ul li { margin-bottom: 0; } -.unstable { +.hidden { display: none; } #stability { diff --git a/config/jsdoc/api/template/tmpl/navigation.tmpl b/config/jsdoc/api/template/tmpl/navigation.tmpl index fc69e8e64c..7a41bfed9b 100644 --- a/config/jsdoc/api/template/tmpl/navigation.tmpl +++ b/config/jsdoc/api/template/tmpl/navigation.tmpl @@ -64,6 +64,23 @@ var self = this; } ?> +