Skip to content

Commit

Permalink
Complete jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz committed Jan 30, 2024
1 parent 0b9b873 commit 9de411f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mu-plugins/blocks/sidebar-container/src/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ function getCustomPropValue( name, element = document.body ) {
* and toggle the "fixed" class at a certain point.
* Reduce the height of the sidebar to stop it overlapping the footer.
*
* @param {HTMLElement} container
* @param {HTMLElement} container The sidebar container.
* @return {Function} onScroll The sidebar scroll handler.
*/
function createScrollHandler( container ) {
return function onScroll() {
Expand Down

0 comments on commit 9de411f

Please sign in to comment.