From f4ef03e57edd7e51cb134e902679c7bddc3daaee Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Sat, 16 May 2020 08:36:55 +0200 Subject: All: Resolve most jQuery Migrate warnings Closes gh-1919 --- ui/widgets/button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/widgets/button.js') diff --git a/ui/widgets/button.js b/ui/widgets/button.js index 3def0f9aa..a4be3c76e 100644 --- a/ui/widgets/button.js +++ b/ui/widgets/button.js @@ -263,7 +263,7 @@ $.widget( "ui.button", { this._toggleClass( null, "ui-state-disabled", value ); this.element[ 0 ].disabled = value; if ( value ) { - this.element.blur(); + this.element.trigger( "blur" ); } } }, -- cgit v1.2.3