Contain Dashboard widget dragging. props lessbloat. fixes #26026.

git-svn-id: https://develop.svn.wordpress.org/trunk@26372 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2013-11-26 00:54:07 +00:00
parent da9a057ee4
commit 25fd558a75

View File

@ -120,6 +120,8 @@ jQuery(document).ready( function($) {
};
quickPressLoad();
$( '.meta-box-sortables' ).sortable( 'option', 'containment', '#dashboard-widgets-wrap' );
// Activity Widget
$( '.show-more a' ).on( 'click', function(e) {
$( this ).fadeOut().closest('.activity-block').find( 'li.hidden' ).fadeIn().removeClass( 'hidden' );