Changeset 25687
- Timestamp:
- 10/03/2013 09:11:45 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/nav-menu.js
r25622 r25687 179 179 listItemDBIDMatch = re.exec( t.attr('name') ), 180 180 listItemDBID = 'undefined' == typeof listItemDBIDMatch[1] ? 0 : parseInt(listItemDBIDMatch[1], 10); 181 182 // Only show top level items 183 if (0 !== t.closest('ul.children').length) 184 return; 185 181 186 182 if ( this.className && -1 != this.className.indexOf('add-to-top') ) 187 183 processMethod = api.addMenuItemToTop;
Note: See TracChangeset
for help on using the changeset viewer.