mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
Widgets: Toggle widget arrow when the widget is closed using Close link.
props senff. fixes #29617. git-svn-id: https://develop.svn.wordpress.org/trunk@29726 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user