Skip to content

Commit b72e41e

Browse files
committed
Refactor: re-add deleted comment
1 parent ebe219e commit b72e41e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/_enqueues/wp/customize/nav-menus.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@
485485
} else if ( ( 'post_type:page' === name ) && ( ! availableMenuItemContainers[ name ].hasClass( 'open' ) ) ) {
486486
availableMenuItemContainers[ name ].find( '.accordion-section-title > button' ).trigger( 'click' );
487487
}
488-
typeItems = new api.Menus.AvailableItemCollection( typeItems );
488+
typeItems = new api.Menus.AvailableItemCollection( typeItems ); // @todo Why is this collection created and then thrown away?
489489
self.collection.add( typeItems.models );
490490
typeInner = availableMenuItemContainers[name].find('.available-menu-items-list').empty();
491491
typeItems.each(function(menuItem) {

0 commit comments

Comments
 (0)