Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/dist/util/focustrap.js')
-rw-r--r--js/dist/util/focustrap.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/js/dist/util/focustrap.js b/js/dist/util/focustrap.js
index d65b0a1aea..8c5e1dba78 100644
--- a/js/dist/util/focustrap.js
+++ b/js/dist/util/focustrap.js
@@ -1,5 +1,5 @@
/*!
- * Bootstrap focustrap.js v5.2.0-beta1 (https://getbootstrap.com/)
+ * Bootstrap focustrap.js v5.2.0 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@@ -17,7 +17,7 @@
/**
* --------------------------------------------------------------------------
- * Bootstrap (v5.2.0-beta1): util/focustrap.js
+ * Bootstrap (v5.2.0): util/focustrap.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -34,13 +34,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'
};
/**
* Class definition