diff options
| author | louismaxime.piton <[email protected]> | 2022-05-19 15:35:44 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2022-06-01 19:24:45 -0700 |
| commit | c137d11aa2df111e2a42bc42295576fdd366fd68 (patch) | |
| tree | 9c93a9dbd479be01cb803c8bc294fee4028084f1 /js/src/util/focustrap.js | |
| parent | 824c5a077bfed3a3d3d80aef4cae1bc486d69f79 (diff) | |
| download | bootstrap-c137d11aa2df111e2a42bc42295576fdd366fd68.tar.xz bootstrap-c137d11aa2df111e2a42bc42295576fdd366fd68.zip | |
Re-ordering js default objects
Diffstat (limited to 'js/src/util/focustrap.js')
| -rw-r--r-- | js/src/util/focustrap.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/util/focustrap.js b/js/src/util/focustrap.js index 40509c1ba..51dd19f22 100644 --- a/js/src/util/focustrap.js +++ b/js/src/util/focustrap.js @@ -24,13 +24,13 @@ const TAB_NAV_FORWARD = 'forward' const TAB_NAV_BACKWARD = 'backward' const Default = { - trapElement: null, // The element to trap focus inside of - autofocus: true + autofocus: true, + trapElement: null // The element to trap focus inside of } const DefaultType = { - trapElement: 'element', - autofocus: 'boolean' + autofocus: 'boolean', + trapElement: 'element' } /** |
