WordPress/wp-content/themes/twentytwentyone/assets/js
ryelle eaea2f3b45 Twenty Twenty-One: Check for navigation element before using it.
This prevents a javascript error in case the primary navigation has been removed, for example in a child theme.

Props sushmak.
Fixes #52773.


Built from https://develop.svn.wordpress.org/trunk@51072


git-svn-id: http://core.svn.wordpress.org/trunk@50681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-06-04 17:08:00 +00:00
..
customize-helpers.js Twenty Twenty-One: Convert inline ESLint comments to JSHint. 2020-11-12 18:48:08 +00:00
customize-preview.js Twenty Twenty-One: Sync the latest changes for 5.6 RC2. 2020-12-01 19:09:05 +00:00
customize.js Twenty Twenty-One: Sync the latest changes for 5.6 RC1. 2020-11-17 19:00:08 +00:00
dark-mode-toggler.js Twenty Twenty-One: Prevent Dark Mode related JavaScript error. 2021-02-09 14:56:04 +00:00
editor-dark-mode-support.js Twenty Twenty-One: Correct @since inline documentation tags. 2020-12-17 14:57:07 +00:00
editor.js Twenty Twenty-One: Merge the latest changes changes from GitHub for Beta 4. 2020-11-12 18:36:15 +00:00
palette-colorpicker.js Bundled Themes: Import Twenty Twenty-One, the new default theme for WordPress 5.6. 2020-10-20 01:14:10 +00:00
polyfills.js Twenty Twenty-One: Import the latest changes for 5.6 beta 2. 2020-10-27 02:00:07 +00:00
primary-navigation.js Twenty Twenty-One: Check for navigation element before using it. 2021-06-04 17:08:00 +00:00
responsive-embeds.js Twenty Twenty-One: Correct @since inline documentation tags. 2020-12-17 14:57:07 +00:00
skip-link-focus-fix.js Bundled Themes: Import Twenty Twenty-One, the new default theme for WordPress 5.6. 2020-10-20 01:14:10 +00:00