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:
authorXhmikosR <xhmikosr@gmail.com>2020-03-29 09:59:54 +0300
committerGitHub <noreply@github.com>2020-03-29 09:59:54 +0300
commite1f5d819c73ad66e6ec0480e75e5e08c815a633e (patch)
treeb23cb5cf3595f16d0e0592b38722e9aacce29edb /js/src/carousel.js
parented94976ea80cfe5fa2bd9b6a6913c78de8626045 (diff)
Remove `MSPointerEvent` and `ms-touch-action` in tests (#30463)
Diffstat (limited to 'js/src/carousel.js')
-rw-r--r--js/src/carousel.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/carousel.js b/js/src/carousel.js
index 509f7ca9d8..3020974d38 100644
--- a/js/src/carousel.js
+++ b/js/src/carousel.js
@@ -118,7 +118,7 @@ class Carousel {
this._element = element
this._indicatorsElement = SelectorEngine.findOne(SELECTOR_INDICATORS, this._element)
this._touchSupported = 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0
- this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent)
+ this._pointerEvent = Boolean(window.PointerEvent)
this._addEventListeners()
Data.setData(element, DATA_KEY, this)