diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2020-05-16 08:36:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 08:36:55 +0200 |
commit | f4ef03e57edd7e51cb134e902679c7bddc3daaee (patch) | |
tree | 9b58bc5746bb4b6e173337b71c86be2cabd31ea6 /ui/widgets/button.js | |
parent | b36d54256968b028a9c324eba6d88754561d5ec4 (diff) | |
download | jquery-ui-f4ef03e57edd7e51cb134e902679c7bddc3daaee.tar.gz jquery-ui-f4ef03e57edd7e51cb134e902679c7bddc3daaee.zip |
All: Resolve most jQuery Migrate warnings
Closes gh-1919
Diffstat (limited to 'ui/widgets/button.js')
-rw-r--r-- | ui/widgets/button.js | 2 |
1 files changed, 1 insertions, 1 deletions
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" ); } } }, |