diff options
author | Hrvoje Novosel <hrvoje.novosel@gmail.com> | 2020-07-15 16:10:20 +0200 |
---|---|---|
committer | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2020-10-06 14:54:13 +0200 |
commit | 2434dfd45d0805304e1db634d059feaa0bacf358 (patch) | |
tree | a023bd3944a31cd7a5faa82b1f48d9285b2bcbaf /ui/focusable.js | |
parent | 6bf38048f30886ae0545bb48df7c5a2011dff2b0 (diff) | |
download | jquery-ui-2434dfd45d0805304e1db634d059feaa0bacf358.tar.gz jquery-ui-2434dfd45d0805304e1db634d059feaa0bacf358.zip |
Widget: Fix boolean option when under use strict
Fix for `options === true` when using jQuery UI under `use strict`,
which throws:
```
Uncaught TypeError: Cannot create property 'complete' on boolean 'true'
```
on line:
```js
options.complete = callback;
```
Closes gh-1931
Diffstat (limited to 'ui/focusable.js')
0 files changed, 0 insertions, 0 deletions