diff --git a/wp-admin/js/post.js b/wp-admin/js/post.js
index eb577013d5ad..bba9c17358df 100644
|
a
|
b
|
jQuery( function($) { |
| 1173 | 1173 | } |
| 1174 | 1174 | |
| 1175 | 1175 | /** |
| 1176 | | * When the dragging stopped make sure we return focus and do a sanity check on the height. |
| | 1176 | * When the dragging stopped make sure we return focus and do a confidence check on the height. |
| 1177 | 1177 | */ |
| 1178 | 1178 | function endDrag() { |
| 1179 | 1179 | var height, toolbarHeight; |
| … |
… |
jQuery( function($) { |
| 1198 | 1198 | |
| 1199 | 1199 | $document.off( '.wp-editor-resize' ); |
| 1200 | 1200 | |
| 1201 | | // Sanity check: normalize height to stay within acceptable ranges. |
| | 1201 | // Confidence check: normalize height to stay within acceptable ranges. |
| 1202 | 1202 | if ( height && height > 50 && height < 5000 ) { |
| 1203 | 1203 | setUserSetting( 'ed_size', height ); |
| 1204 | 1204 | } |