Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoensing committed Nov 20, 2024
1 parent c33b224 commit 6cd4ad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/accordion.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* SimpleTOC load function.
*/
const simpletocLoad = function() {
const simpletocLoad = function () {
const buttons = document.querySelectorAll( 'button.simpletoc-collapsible' );

buttons.forEach( ( button ) => {
Expand All @@ -20,7 +20,7 @@ const simpletocLoad = function() {
: '0px';
} );
} );
}
};

// Allow others to call function if needed.
window.simpletocLoad = simpletocLoad;
Expand Down

0 comments on commit 6cd4ad6

Please sign in to comment.