aboutsummaryrefslogtreecommitdiff
path: root/js/src/tooltip.js
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2018-03-20 11:07:58 +0100
committerJohann-S <[email protected]>2018-03-20 15:56:51 +0100
commitbedc96e48bebb7a1124a97833794a8047a1e3b95 (patch)
tree0db43f0a301cf836fb9198a4957231a097a90f06 /js/src/tooltip.js
parent2306f62bf19bb0696a9455aaf2eea6b083d9fdae (diff)
downloadbootstrap-bedc96e48bebb7a1124a97833794a8047a1e3b95.tar.xz
bootstrap-bedc96e48bebb7a1124a97833794a8047a1e3b95.zip
Use transitionEnd in QUnit since we moved away from PhantomJS
Diffstat (limited to 'js/src/tooltip.js')
-rw-r--r--js/src/tooltip.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index 19a020d43..64508fcab 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -333,7 +333,7 @@ const Tooltip = (($) => {
}
}
- if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) {
+ if ($(this.tip).hasClass(ClassName.FADE)) {
const transitionDuration = Util.getTransitionDurationFromElement(this.tip)
$(this.tip)
@@ -383,8 +383,7 @@ const Tooltip = (($) => {
this._activeTrigger[Trigger.FOCUS] = false
this._activeTrigger[Trigger.HOVER] = false
- if (Util.supportsTransitionEnd() &&
- $(this.tip).hasClass(ClassName.FADE)) {
+ if ($(this.tip).hasClass(ClassName.FADE)) {
const transitionDuration = Util.getTransitionDurationFromElement(tip)
$(tip)