diff options
author | louismaxime.piton <louismaxime.piton@orange.com> | 2022-05-19 16:35:44 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2022-06-02 05:24:45 +0300 |
commit | c137d11aa2df111e2a42bc42295576fdd366fd68 (patch) | |
tree | 9c93a9dbd479be01cb803c8bc294fee4028084f1 /js/src/util/focustrap.js | |
parent | 824c5a077bfed3a3d3d80aef4cae1bc486d69f79 (diff) |
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 40509c1ba9..51dd19f223 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' } /** |