mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-07 08:07:16 +00:00
Remove unneeded .siblings() from widgets.js, props aaroncampbell, fixes #18582
git-svn-id: https://develop.svn.wordpress.org/trunk@18634 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -19,7 +19,7 @@ wpWidgets = {
|
||||
});
|
||||
|
||||
$('#widgets-left').children('.widgets-holder-wrap').children('.sidebar-name').click(function() {
|
||||
$(this).siblings('.widget-holder').parent().toggleClass('closed');
|
||||
$(this).parent().toggleClass('closed');
|
||||
});
|
||||
|
||||
sidebars.not('#wp_inactive_widgets').each(function(){
|
||||
|
||||
Reference in New Issue
Block a user