diff options
| author | XhmikosR <[email protected]> | 2021-08-26 19:23:46 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2021-09-28 19:19:29 +0300 |
| commit | f2541d132e80a14d00bd4db9cb325e1f400639fc (patch) | |
| tree | 8e49cfea81882f854de7f50bdc196ef4dec72649 /js/src/util | |
| parent | 21c2f18e8f949416f08e5a5c85778c412bb4c3d9 (diff) | |
| download | bootstrap-main-xmr-xo.tar.xz bootstrap-main-xmr-xo.zip | |
Fix `import/extensions` issuesmain-xmr-xo
Diffstat (limited to 'js/src/util')
| -rw-r--r-- | js/src/util/backdrop.js | 4 | ||||
| -rw-r--r-- | js/src/util/component-functions.js | 4 | ||||
| -rw-r--r-- | js/src/util/focustrap.js | 6 | ||||
| -rw-r--r-- | js/src/util/scrollbar.js | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/js/src/util/backdrop.js b/js/src/util/backdrop.js index 80628c38d..ee6c2019c 100644 --- a/js/src/util/backdrop.js +++ b/js/src/util/backdrop.js @@ -5,8 +5,8 @@ * -------------------------------------------------------------------------- */ -import EventHandler from '../dom/event-handler' -import { execute, executeAfterTransition, getElement, reflow, typeCheckConfig } from './index' +import EventHandler from '../dom/event-handler.js' +import { execute, executeAfterTransition, getElement, reflow, typeCheckConfig } from './index.js' const Default = { className: 'modal-backdrop', diff --git a/js/src/util/component-functions.js b/js/src/util/component-functions.js index ff9d87ee6..90d91a9f5 100644 --- a/js/src/util/component-functions.js +++ b/js/src/util/component-functions.js @@ -5,8 +5,8 @@ * -------------------------------------------------------------------------- */ -import EventHandler from '../dom/event-handler' -import { getElementFromSelector, isDisabled } from './index' +import EventHandler from '../dom/event-handler.js' +import { getElementFromSelector, isDisabled } from './index.js' const enableDismissTrigger = (component, method = 'hide') => { const clickEvent = `click.dismiss${component.EVENT_KEY}` diff --git a/js/src/util/focustrap.js b/js/src/util/focustrap.js index d51942246..98d36cefd 100644 --- a/js/src/util/focustrap.js +++ b/js/src/util/focustrap.js @@ -5,9 +5,9 @@ * -------------------------------------------------------------------------- */ -import EventHandler from '../dom/event-handler' -import SelectorEngine from '../dom/selector-engine' -import { typeCheckConfig } from './index' +import EventHandler from '../dom/event-handler.js' +import SelectorEngine from '../dom/selector-engine.js' +import { typeCheckConfig } from './index.js' const Default = { trapElement: null, // The element to trap focus inside of diff --git a/js/src/util/scrollbar.js b/js/src/util/scrollbar.js index 73c28254e..d0c7f84b7 100644 --- a/js/src/util/scrollbar.js +++ b/js/src/util/scrollbar.js @@ -5,9 +5,9 @@ * -------------------------------------------------------------------------- */ -import SelectorEngine from '../dom/selector-engine' -import Manipulator from '../dom/manipulator' -import { isElement } from './index' +import SelectorEngine from '../dom/selector-engine.js' +import Manipulator from '../dom/manipulator.js' +import { isElement } from './index.js' const SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top' const SELECTOR_STICKY_CONTENT = '.sticky-top' |
