mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-17 03:56:07 +00:00
Widgets: Toggle widget arrow when the widget is closed using Close link.
props senff. fixes #29617. Built from https://develop.svn.wordpress.org/trunk@29726 git-svn-id: http://core.svn.wordpress.org/trunk@29500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7dcabd849a
commit
ee6af4f40c
@ -66,7 +66,9 @@ wpWidgets = {
|
||||
wpWidgets.save( target.closest('div.widget'), 1, 1, 0 );
|
||||
e.preventDefault();
|
||||
} else if ( target.hasClass('widget-control-close') ) {
|
||||
wpWidgets.close( target.closest('div.widget') );
|
||||
widget = target.closest('div.widget');
|
||||
widget.removeClass( 'open' );
|
||||
wpWidgets.close( widget );
|
||||
e.preventDefault();
|
||||
}
|
||||
});
|
||||
|
2
wp-admin/js/widgets.min.js
vendored
2
wp-admin/js/widgets.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user