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:
parent
9c48d0f495
commit
69b97690d5
@ -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();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user