From 7b90b9fcb9173585683951489da6f20ba0b92334 Mon Sep 17 00:00:00 2001 From: James Hinderks Date: Thu, 17 Feb 2022 11:53:21 -0500 Subject: [PATCH] Update selectmenu.js replaced call to deprecated jQuery .focus() method with .trigger("focus") --- ui/widgets/selectmenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/widgets/selectmenu.js b/ui/widgets/selectmenu.js index cefeddcacf4..cf48261d092 100644 --- a/ui/widgets/selectmenu.js +++ b/ui/widgets/selectmenu.js @@ -417,7 +417,7 @@ return $.widget( "ui.selectmenu", [ $.ui.formResetMixin, { // Support: IE // Setting the text selection kills the button focus in IE, but // restoring the focus doesn't kill the selection. - this.button.focus(); + this.button.trigger( "focus" ); }, _documentClick: {