Changeset 36523
- Timestamp:
- 02/13/2016 12:11:24 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/customize-preview-nav-menus.js
r36414 r36523 280 280 */ 281 281 highlightControls: function() { 282 var selector = '.menu-item [id^=menu-item-]',282 var selector = '.menu-item', 283 283 addTooltips; 284 284 … … 290 290 } 291 291 292 navMenuItemParts = $( this ).attr( ' id' ).match( /^menu-item-(\d+)$/ );292 navMenuItemParts = $( this ).attr( 'class' ).match( /(?:^|\s)menu-item-(\d+)(?:\s|$)/ ); 293 293 if ( navMenuItemParts ) { 294 294 e.preventDefault();
Note: See TracChangeset
for help on using the changeset viewer.