Merge pull request #25301 from jacobhammons/doc-bugs

bug fix for module function display in help
This commit is contained in:
jacobhammons 2015-07-09 14:46:34 -06:00
commit 1c43892a80
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
{% set script_files = [
'_static/js/core.min.js',
'_static/js/webhelp.min_v1.4.js',
'_static/js/webhelp.min_v1.4.1.js',
] %}
{% set css_files = [

View File

@ -11,7 +11,7 @@ $( document ).ready(function() {
/*insert links to module functions*/
if ($( 'a.current' ).length && $( 'dt .headerlink' ).length ) {
if (!window.location.href.indexOf('/ref/cli/')) {
if (window.location.href.indexOf('/ref/cli/') == -1) {
var tgt = $( 'a.current' );
tgt.after('<ul id="function-list"></ul>');
$('dt .headerlink').each(function(idx, elem) {