From 12b3b1c100adcbf54dfc8b0cb656aae850094160 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 14 May 2015 23:49:44 +0000 Subject: [PATCH] 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 --- src/wp-admin/js/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/js/dashboard.js b/src/wp-admin/js/dashboard.js index f5e37e621a..a2a846cdd4 100644 --- a/src/wp-admin/js/dashboard.js +++ b/src/wp-admin/js/dashboard.js @@ -124,7 +124,7 @@ jQuery(document).ready( function($) { }; quickPressLoad(); - $( '.meta-box-sortables' ).sortable( 'option', 'containment', 'document' ); + $( '.meta-box-sortables' ).sortable( 'option', 'containment', '#wpwrap' ); function autoResizeTextarea() { if ( document.documentMode && document.documentMode < 9 ) {