Fix dragging to the bottom of the screen on the Dashboard.

Props eltobiano. See #32094.

git-svn-id: https://develop.svn.wordpress.org/trunk@32505 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2015-05-14 23:49:44 +00:00
parent 047c2fdadd
commit 12b3b1c100

View File

@ -124,7 +124,7 @@ jQuery(document).ready( function($) {
}; };
quickPressLoad(); quickPressLoad();
$( '.meta-box-sortables' ).sortable( 'option', 'containment', 'document' ); $( '.meta-box-sortables' ).sortable( 'option', 'containment', '#wpwrap' );
function autoResizeTextarea() { function autoResizeTextarea() {
if ( document.documentMode && document.documentMode < 9 ) { if ( document.documentMode && document.documentMode < 9 ) {