mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
bug fix for module function display in help
This commit is contained in:
parent
68149bc686
commit
f6561289af
2 changed files with 2 additions and 2 deletions
2
doc/_themes/saltstack2/layout.html
vendored
2
doc/_themes/saltstack2/layout.html
vendored
|
@ -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 = [
|
||||
|
|
|
@ -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) {
|
Loading…
Add table
Reference in a new issue