Changeset 33077
- Timestamp:
- 07/03/2015 10:20:04 PM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/customize-nav-menus.css
r33074 r33077 173 173 .move-down-disabled .menus-move-down, 174 174 .move-right-disabled .menus-move-right, 175 .move-left-disabled .menus-move-left, 176 .menu-item-depth-0 .menus-move-left, 177 .menu-item-depth-10 .menus-move-right { 175 .move-left-disabled .menus-move-left { 178 176 color: #d5d5d5 !important; 179 177 background-color: #fff !important; -
trunk/src/wp-admin/js/customize-nav-menus.js
r33074 r33077 2027 2027 _( currentMenuItemControls ).each(function( menuItemControl ) { 2028 2028 menuItemControl.container.removeClass( 'move-up-disabled move-down-disabled move-left-disabled move-right-disabled' ); 2029 if ( 0 === context.currentDepth ) { 2030 menuItemControl.container.addClass( 'move-left-disabled' ); 2031 } else if ( 10 === context.currentDepth ) { 2032 menuItemControl.container.addClass( 'move-right-disabled' ); 2033 } 2029 2034 }); 2030 2035
Note: See TracChangeset
for help on using the changeset viewer.