mirror of
git://develop.git.wordpress.org/
synced 2025-03-14 17:09:47 +01:00
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:
parent
da9a057ee4
commit
25fd558a75
@ -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' );
|
||||
|
Loading…
x
Reference in New Issue
Block a user