From aaf8b7721aed6515a3cd196b4c83533d93430511 Mon Sep 17 00:00:00 2001 From: Volker E Date: Thu, 9 Jul 2020 00:47:27 -0700 Subject: [PATCH] [docs] Fix typos in comments Following-up Ib1ce934f3646cd8fe. Change-Id: Id32cbfb5256d55e6c9d8b081a126ca0275b7565d --- resources/skins.vector.js/sidebar.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/skins.vector.js/sidebar.js b/resources/skins.vector.js/sidebar.js index b2939fede..c9058a852 100644 --- a/resources/skins.vector.js/sidebar.js +++ b/resources/skins.vector.js/sidebar.js @@ -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. * @@ -42,7 +42,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 @@ -69,7 +69,7 @@ function bindSidebarClickEvent( checkbox, button ) { } /** - * Initialize all JS sidebar enhancements. + * Initialize all JavaScript sidebar enhancements. * * @param {Window} window */