Skip to content

Commit

Permalink
Build site
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 4, 2024
1 parent 3fa0227 commit 6881ee3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/site_libs/navigation-1.1/codefolding.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ window.initializeCodeFolding = function(show) {
$(this).detach().appendTo(div);

// add a show code button right above
var showCodeText = $('<span>' + (showThis ? 'Hide' : 'Code') + '</span>');
var showCodeText = $('<span>' + (showThis ? 'Hide' : 'Show') + '</span>');
var showCodeButton = $('<button type="button" class="btn btn-default btn-xs btn-secondary btn-sm code-folding-btn pull-right float-right"></button>');
showCodeButton.append(showCodeText);
showCodeButton
Expand All @@ -57,7 +57,7 @@ window.initializeCodeFolding = function(show) {
// * Change text
// * add a class for intermediate states styling
div.on('hide.bs.collapse', function () {
showCodeText.text('Code');
showCodeText.text('Show');
showCodeButton.addClass('btn-collapsing');
});
div.on('hidden.bs.collapse', function () {
Expand Down

0 comments on commit 6881ee3

Please sign in to comment.