diff options
| author | XhmikosR <[email protected]> | 2021-02-02 21:01:37 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2021-08-31 15:54:39 +0300 |
| commit | eee9f8699033d962fb6d7dccbe778517841e52f6 (patch) | |
| tree | 9646c1103450b87afdd94b493e568a5608702455 /js/src | |
| parent | ef21000cbe742830e0e1e39864f9315daf939722 (diff) | |
| download | bootstrap-main-xmr-eslint-plugin-compat.tar.xz bootstrap-main-xmr-eslint-plugin-compat.zip | |
Add eslint-plugin-compatmain-xmr-eslint-plugin-compat
Diffstat (limited to 'js/src')
| -rw-r--r-- | js/src/carousel.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/carousel.js b/js/src/carousel.js index b0aed3872..e0612badd 100644 --- a/js/src/carousel.js +++ b/js/src/carousel.js @@ -120,8 +120,10 @@ class Carousel extends BaseComponent { this._config = this._getConfig(config) this._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, this._element) + /* eslint-disable compat/compat */ this._touchSupported = 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0 this._pointerEvent = Boolean(window.PointerEvent) + /* eslint-enable compat/compat */ this._addEventListeners() } |
