Changeset 21091
- Timestamp:
- 06/20/2012 05:03:08 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/js/postbox.dev.js
r20677 r21091 158 158 159 159 _pb_change : function() { 160 var check = $( 'label.columns-prefs-1 input[type="radio"]' ); 161 160 162 switch ( window.orientation ) { 161 163 case 90: 162 164 case -90: 163 this._pb_edit(2); 165 if ( !check.length || !check.is(':checked') ) 166 this._pb_edit(2); 164 167 break; 165 168 case 0: 166 169 case 180: 167 if ( $('#poststuff').length ) 170 if ( $('#poststuff').length ) { 168 171 this._pb_edit(1); 169 else 170 this._pb_edit(2); 172 } else { 173 if ( !check.length || !check.is(':checked') ) 174 this._pb_edit(2); 175 } 171 176 break; 172 177 }
Note: See TracChangeset
for help on using the changeset viewer.