From e54fff3bb1a2af34c63bb768efba7f3db6f29d19 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Tue, 25 Mar 2014 11:22:13 +0000 Subject: [PATCH] Widget Customizer: Fix shift+click issue in Firefox to open a widget. props westonruter. see #27358. git-svn-id: https://develop.svn.wordpress.org/trunk@27701 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/customize-widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/js/customize-widgets.js b/src/wp-admin/js/customize-widgets.js index a489b6e35f..a64c975a34 100644 --- a/src/wp-admin/js/customize-widgets.js +++ b/src/wp-admin/js/customize-widgets.js @@ -1423,7 +1423,7 @@ var WidgetCustomizer = ( function ($) { var control = this; control.expandControlSection(); control.expandForm(); - control.container.find( ':focusable:first' ).focus().trigger( 'click' ); + control.container.find( '.widget-content :focusable:first' ).focus(); }, /**