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();
|
||||
}
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue