Changeset 19361 for trunk/wp-admin/js/common.dev.js
- Timestamp:
- 11/20/2011 01:03:17 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/common.dev.js
r19198 r19361 94 94 toggles: null, // .screen-meta-toggle 95 95 page: null, // #wpcontent 96 padding: null, // the closed page padding-top property97 top: null, // the closed element top property98 96 99 97 init: function() { … … 125 123 panel.slideDown( 'fast', function() { 126 124 link.addClass('screen-meta-active'); 127 screenMeta.refresh(); 128 }); 129 }, 130 131 refresh: function( panel, link ) { 132 var columns = $('#contextual-help-wrap').children(), height = 0; 133 134 columns.each(function(){ 135 var h = $(this).height(); 136 137 if ( h > height ) 138 height = h; 139 }); 140 141 if ( height ) 142 columns.height( height ); 125 }); 143 126 }, 144 127 … … 174 157 $('.help-tab-content').not( panel ).removeClass('active').hide(); 175 158 panel.addClass('active').show(); 176 177 // Refresh the padding of the screen meta box.178 screenMeta.refresh();179 159 }); 180 160
Note: See TracChangeset
for help on using the changeset viewer.