Merge "[docs] Fix typos in comments"

This commit is contained in:
jenkins-bot 2020-07-10 22:22:56 +00:00 committed by Gerrit Code Review
commit 02c44e7302
1 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
/**
* Javascsript enhancement to the collapsible sidebar.
* JavaScript enhancement to the collapsible sidebar.
*
* The sidebar provides basic show/hide functionality with CSS
* but Javacript is used for progressive enhancements.
* but JavaScript is used for progressive enhancements.
*
* JS sidebar enhancements include:
* - Update aria-roles based on expanded/collapsed state.
* Enhancements include:
* - Update `aria-role`s based on expanded/collapsed state.
* - Update button icon based on expanded/collapsed state.
* - Persist the sidebar state for logged-in users.
*
@ -43,7 +43,7 @@ function initCheckboxHack( checkbox, button ) {
/**
* Execute a debounced API request to save the sidebar user preference.
* The request is meant to fires 1 second after the last click on
* The request is meant to fire 1000 milliseconds after the last click on
* the sidebar button.
*
* @param {HTMLInputElement} checkbox
@ -70,7 +70,7 @@ function bindSidebarClickEvent( checkbox, button ) {
}
/**
* Initialize all JS sidebar enhancements.
* Initialize all JavaScript sidebar enhancements.
*
* @param {Window} window
*/