Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Simplify length check
  • Loading branch information
sgomes committed May 19, 2023
commit 32e6206182f87287274b4feb82ac085b0511e818
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentysixteen/js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@

// Fix sub-menus for touch devices and better focus for hidden submenu items for accessibility.
( function () {
if ( ! siteNavigation || siteNavigation.children.length === 0 ) {
if ( ! siteNavigation || ! siteNavigation.children.length ) {
return;
}

Expand Down