diff --git a/src/wp-admin/js/customize-nav-menus.js b/src/wp-admin/js/customize-nav-menus.js
index d8ab2eb..9981cc9 100644
|
a
|
b
|
|
| 397 | 397 | } |
| 398 | 398 | self.pages[ type + ':' + object ] = -1; |
| 399 | 399 | return; |
| 400 | | } else if ( 'page' === object ) { |
| | 400 | } else if ( ( 'page' === object ) && ( ! availableMenuItemContainer.hasClass( 'open' ) ) ) { |
| 401 | 401 | availableMenuItemContainer.find( '.accordion-section-title > button' ).click(); |
| 402 | 402 | } |
| 403 | 403 | items = new api.Menus.AvailableItemCollection( items ); // @todo Why is this collection created and then thrown away? |