assets/javascripts/bootstrap/util/focustrap.js in bootstrap-5.3.2 vs assets/javascripts/bootstrap/util/focustrap.js in bootstrap-5.3.3
- old
+ new
@@ -1,8 +1,8 @@
/*!
- * Bootstrap focustrap.js v5.3.2 (https://getbootstrap.com/)
- * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
+ * Bootstrap focustrap.js v5.3.3 (https://getbootstrap.com/)
+ * Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('../dom/event-handler.js'), require('../dom/selector-engine.js'), require('./config.js')) :
typeof define === 'function' && define.amd ? define(['../dom/event-handler', '../dom/selector-engine', './config'], factory) :
@@ -31,10 +31,9 @@
const TAB_NAV_BACKWARD = 'backward';
const Default = {
autofocus: true,
trapElement: null // The element to trap focus inside of
};
-
const DefaultType = {
autofocus: 'boolean',
trapElement: 'element'
};