mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 10:59:07 +01:00
Widget Customizer: Fix shift+click issue in Firefox to open a widget.
props westonruter. see #27358. Built from https://develop.svn.wordpress.org/trunk@27701 git-svn-id: http://core.svn.wordpress.org/trunk@27540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
513d8702f6
commit
b7d77cd8bf
@ -1423,7 +1423,7 @@ var WidgetCustomizer = ( function ($) {
|
|||||||
var control = this;
|
var control = this;
|
||||||
control.expandControlSection();
|
control.expandControlSection();
|
||||||
control.expandForm();
|
control.expandForm();
|
||||||
control.container.find( ':focusable:first' ).focus().trigger( 'click' );
|
control.container.find( '.widget-content :focusable:first' ).focus();
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
2
wp-admin/js/customize-widgets.min.js
vendored
2
wp-admin/js/customize-widgets.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user