diff --git a/wp-content/themes/twentytwentyone/assets/js/customize-helpers.js b/wp-content/themes/twentytwentyone/assets/js/customize-helpers.js index 6678c3d9d9..bff50e5fa7 100644 --- a/wp-content/themes/twentytwentyone/assets/js/customize-helpers.js +++ b/wp-content/themes/twentytwentyone/assets/js/customize-helpers.js @@ -1,5 +1,5 @@ /** - * Get luminance from a HEX color. + * Gets luminance from a HEX color. * * @since Twenty Twenty-One 1.0 * @@ -13,7 +13,7 @@ function twentytwentyoneGetHexLum( hex ) { // jshint ignore:line } /** - * Get RGB from HEX. + * Gets RGB from HEX. * * @since Twenty Twenty-One 1.0 * diff --git a/wp-content/themes/twentytwentyone/assets/js/editor-dark-mode-support.js b/wp-content/themes/twentytwentyone/assets/js/editor-dark-mode-support.js index 088ecad446..d4214341b0 100644 --- a/wp-content/themes/twentytwentyone/assets/js/editor-dark-mode-support.js +++ b/wp-content/themes/twentytwentyone/assets/js/editor-dark-mode-support.js @@ -6,9 +6,9 @@ if ( document.body.classList.contains( 'twentytwentyone-supports-dark-theme' ) ) } /** - * Once the editor loads, add the dark mode class. + * Adds the dark mode class once the editor loads. * - * Wait for the editor to load by periodically checking for an element, then we add the classes. + * Waits for the editor to load by periodically checking for an element, then adds the classes. * * @since Twenty Twenty-One 1.0 * diff --git a/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js b/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js index 313a14a147..36fe79bac2 100644 --- a/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js +++ b/wp-content/themes/twentytwentyone/assets/js/primary-navigation.js @@ -5,7 +5,7 @@ */ /** - * Toggle an attribute's value + * Toggles an attribute's value * * @since Twenty Twenty-One 1.0 * @@ -66,7 +66,7 @@ function twentytwentyoneSubmenuPosition( li ) { } /** - * Handle clicks on submenu toggles. + * Handles clicks on submenu toggles. * * @since Twenty Twenty-One 1.0 * @@ -134,7 +134,7 @@ function twentytwentyoneExpandSubMenu( el ) { // jshint ignore:line } ); /** - * Trap keyboard navigation in the menu modal. + * Traps keyboard navigation in the menu modal. * Adapted from Twenty Twenty. * * @since Twenty Twenty-One 1.0 @@ -180,7 +180,7 @@ function twentytwentyoneExpandSubMenu( el ) { // jshint ignore:line } ); /** - * Close menu and scroll to anchor when an anchor link is clicked. + * Closes menu and scrolls to anchor when an anchor link is clicked. * Adapted from Twenty Twenty. * * @since Twenty Twenty-One 1.1 diff --git a/wp-content/themes/twentytwentyone/assets/js/responsive-embeds.js b/wp-content/themes/twentytwentyone/assets/js/responsive-embeds.js index 2beed6ef25..de934960f7 100644 --- a/wp-content/themes/twentytwentyone/assets/js/responsive-embeds.js +++ b/wp-content/themes/twentytwentyone/assets/js/responsive-embeds.js @@ -5,7 +5,7 @@ */ /** - * Add max-width & max-height to